File tree Expand file tree Collapse file tree 9 files changed +23
-23
lines changed Expand file tree Collapse file tree 9 files changed +23
-23
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ jobs:
12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- uses : actions/checkout@v2
15
- - name : Set up JDK 11
15
+ - name : Set up JDK 17
16
16
uses : actions/setup-java@v1
17
17
with :
18
- java-version : 11
18
+ java-version : 17
19
19
- name : Cache Gradle packages
20
20
uses : actions/cache@v2
21
21
with :
Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ jobs:
17
17
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
18
18
steps :
19
19
- uses : actions/checkout@v2
20
- - name : Set up JDK 11
20
+ - name : Set up JDK 17
21
21
uses : actions/setup-java@v1
22
22
with :
23
- java-version : 11
23
+ java-version : 17
24
24
- name : Cache Gradle packages
25
25
uses : actions/cache@v2
26
26
with :
Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ jobs:
24
24
propagate_failure : true
25
25
trigger_workflow : true
26
26
wait_workflow : true
27
- - name : Set up JDK 11
27
+ - name : Set up JDK 17
28
28
uses : actions/setup-java@v1
29
29
with :
30
- java-version : 11
30
+ java-version : 17
31
31
- name : Cache Gradle packages
32
32
uses : actions/cache@v2
33
33
with :
Original file line number Diff line number Diff line change @@ -34,24 +34,24 @@ Add the relevant dependency to your project:
34
34
Maven
35
35
-----
36
36
37
- Java 8 :
37
+ Java 17 :
38
38
39
39
.. code-block :: xml
40
40
41
41
<dependency >
42
42
<groupId >org.web3j</groupId >
43
43
<artifactId >quorum</artifactId >
44
- <version >4.8.4 </version >
44
+ <version >4.10.0 </version >
45
45
</dependency >
46
46
47
47
Gradle
48
48
------
49
49
50
- Java 8 :
50
+ Java 17 :
51
51
52
52
.. code-block :: groovy
53
53
54
- compile ('org.web3j:quorum:4.8.4 ')
54
+ compile ('org.web3j:quorum:4.10.0 ')
55
55
56
56
57
57
Run Quorum
Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ plugins {
2
2
id ' java'
3
3
id ' idea'
4
4
id ' jacoco'
5
- id " com.diffplug.gradle.spotless" version " 3.25.0 "
5
+ id ' com.diffplug.gradle.spotless' version ' 4.5.1 '
6
6
id ' io.codearte.nexus-staging' version ' 0.21.1'
7
- id " de.marcphilipp.nexus-publish" version " 0.4.0"
8
- id ' org.jetbrains.kotlin.jvm' version ' 1.3.60 '
9
- id ' org.unbroken-dome.test-sets' version ' 2.2 .0'
10
- id " de.undercouch.download" version " 4.0.0"
7
+ id ' de.marcphilipp.nexus-publish' version ' 0.4.0'
8
+ id ' org.jetbrains.kotlin.jvm' version ' 1.6.21 '
9
+ id ' org.unbroken-dome.test-sets' version ' 4.0 .0'
10
+ id ' de.undercouch.download' version ' 4.0.0'
11
11
}
12
12
13
13
@@ -63,12 +63,12 @@ tasks.withType(Test) {
63
63
64
64
compileKotlin {
65
65
kotlinOptions {
66
- jvmTarget = " 1.8 "
66
+ jvmTarget = " 17 "
67
67
}
68
68
}
69
69
compileTestKotlin {
70
70
kotlinOptions {
71
- jvmTarget = " 1.8 "
71
+ jvmTarget = " 17 "
72
72
}
73
73
}
74
74
testSets {
@@ -77,4 +77,4 @@ testSets {
77
77
}
78
78
}
79
79
integrationTest. mustRunAfter test
80
- compileIntegrationTestKotlin { kotlinOptions. jvmTarget = ' 1.8 ' }
80
+ compileIntegrationTestKotlin { kotlinOptions. jvmTarget = ' 17 ' }
Original file line number Diff line number Diff line change 1
1
group =org.web3j
2
- version =4.9.5-SNAPSHOT
2
+ version =4.10.0
3
3
jacksonKotlinVersion =2.9.0
4
4
logbackVersion =1.2.3
5
5
junitVersion =5.5.2
Original file line number Diff line number Diff line change @@ -26,6 +26,6 @@ task jacocoRootTestReport(type: org.gradle.testing.jacoco.tasks.JacocoReport) {
26
26
}
27
27
28
28
jacoco {
29
- toolVersion = " 0.8.4 "
29
+ toolVersion = " 0.8.10 "
30
30
}
31
31
Original file line number Diff line number Diff line change 1
1
apply plugin : ' java'
2
2
3
- sourceCompatibility = 1.8
4
- targetCompatibility = 1.8
3
+ sourceCompatibility = 17
4
+ targetCompatibility = 17
5
5
6
6
compileJava {
7
7
options. compilerArgs << " -Xlint:unchecked" << " -Xlint:deprecation"
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-5.6.3 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.6 -bin.zip
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments