Skip to content

Commit 248f252

Browse files
Enable dependabot dependency updates (#389)
Configure dependabot for the following ecosystems: - docker - github-actions - gradle - maven Signed-off-by: Mark S. Lewis <[email protected]>
1 parent ffba62f commit 248f252

File tree

7 files changed

+39
-25
lines changed

7 files changed

+39
-25
lines changed

.github/dependabot.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: docker
4+
directories:
5+
- "/fabric-chaincode-docker"
6+
- "/examples/fabric-contract-example-as-service"
7+
schedule:
8+
interval: daily
9+
- package-ecosystem: "github-actions"
10+
directory: "/"
11+
schedule:
12+
interval: daily
13+
- package-ecosystem: gradle
14+
directories:
15+
- "/"
16+
- "/fabric-chaincode-docker"
17+
- "/examples/fabric-contract-example-as-service"
18+
- "/examples/fabric-contract-example-gradle"
19+
- "/examples/fabric-contract-example-gradle-kotlin"
20+
- "/examples/ledger-api"
21+
- "/fabric-chaincode-integration-test"
22+
- "/fabric-chaincode-integration-test/src/contracts/bare-gradle"
23+
- "/fabric-chaincode-integration-test/src/contracts/fabric-ledger-api"
24+
- "/fabric-chaincode-integration-test/src/contracts/fabric-shim-api"
25+
- "/fabric-chaincode-shim"
26+
schedule:
27+
interval: daily
28+
- package-ecosystem: maven
29+
directories:
30+
- "/examples/fabric-contract-example-maven"
31+
- "/fabric-chaincode-integration-test/src/contracts/bare-maven"
32+
- "/fabric-chaincode-integration-test/src/contracts/wrapper-maven"
33+
schedule:
34+
interval: daily

examples/fabric-contract-example-gradle-kotlin/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
55

66

77
plugins {
8-
id("com.github.johnrengelman.shadow") version "8.1.1"
8+
id("com.gradleup.shadow") version "8.3.6"
99
id("org.jetbrains.kotlin.jvm") version "1.9.22"
1010
}
1111

examples/fabric-contract-example-maven/pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,7 @@
111111
<artifactId>maven-compiler-plugin</artifactId>
112112
<version>3.1</version>
113113
<configuration>
114-
<source>${java.version}</source>
115-
<target>${java.version}</target>
114+
<release>${java.version}</release>
116115
</configuration>
117116
</plugin>
118117
<plugin>

fabric-chaincode-integration-test/src/contracts/bare-gradle/build.gradle

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,8 @@ plugins {
66
group 'org.hyperledger.fabric-chaincode-java'
77
version '1.0-SNAPSHOT'
88

9-
java {
10-
sourceCompatibility = JavaVersion.VERSION_11
11-
targetCompatibility = JavaVersion.VERSION_11
12-
}
13-
149
compileJava {
15-
options.compilerArgs.addAll(['--release', '11'])
10+
options.release = 11
1611
}
1712

1813
repositories {

fabric-chaincode-integration-test/src/contracts/bare-maven/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@
2121
<id>jitpack.io</id>
2222
<url>https://www.jitpack.io</url>
2323
</repository>
24-
<repository>
25-
<id>artifactory</id>
26-
<url>https://hyperledger.jfrog.io/hyperledger/fabric-maven</url>
27-
</repository>
2824
<repository>
2925
<id>localfabirc</id>
3026
<url>file://${project.basedir}/repository</url>

fabric-chaincode-integration-test/src/contracts/fabric-ledger-api/build.gradle

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,8 @@ plugins {
66
group 'org.hyperledger.fabric-chaincode-java'
77
version ''
88

9-
java {
10-
sourceCompatibility = JavaVersion.VERSION_11
11-
targetCompatibility = JavaVersion.VERSION_11
12-
}
13-
149
compileJava {
15-
options.compilerArgs.addAll(['--release', '11'])
10+
options.release = 11
1611
}
1712

1813
repositories {

fabric-chaincode-integration-test/src/contracts/fabric-shim-api/build.gradle

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,8 @@ plugins {
66
group 'org.hyperledger.fabric-chaincode-java'
77
version '1.0-SNAPSHOT'
88

9-
java {
10-
sourceCompatibility = JavaVersion.VERSION_11
11-
targetCompatibility = JavaVersion.VERSION_11
12-
}
13-
149
compileJava {
15-
options.compilerArgs.addAll(['--release', '11'])
10+
options.release = 11
1611
}
1712

1813
repositories {

0 commit comments

Comments
 (0)