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:
1212 runs-on : ubuntu-latest
1313 steps :
1414 - uses : actions/checkout@v2
15- - name : Set up JDK 11
15+ - name : Set up JDK 17
1616 uses : actions/setup-java@v1
1717 with :
18- java-version : 11
18+ java-version : 17
1919 - name : Cache Gradle packages
2020 uses : actions/cache@v2
2121 with :
Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ jobs:
1717 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1818 steps :
1919 - uses : actions/checkout@v2
20- - name : Set up JDK 11
20+ - name : Set up JDK 17
2121 uses : actions/setup-java@v1
2222 with :
23- java-version : 11
23+ java-version : 17
2424 - name : Cache Gradle packages
2525 uses : actions/cache@v2
2626 with :
Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ jobs:
2424 propagate_failure : true
2525 trigger_workflow : true
2626 wait_workflow : true
27- - name : Set up JDK 11
27+ - name : Set up JDK 17
2828 uses : actions/setup-java@v1
2929 with :
30- java-version : 11
30+ java-version : 17
3131 - name : Cache Gradle packages
3232 uses : actions/cache@v2
3333 with :
Original file line number Diff line number Diff line change @@ -34,24 +34,24 @@ Add the relevant dependency to your project:
3434Maven
3535-----
3636
37- Java 8 :
37+ Java 17 :
3838
3939.. code-block :: xml
4040
4141 <dependency >
4242 <groupId >org.web3j</groupId >
4343 <artifactId >quorum</artifactId >
44- <version >4.8.4 </version >
44+ <version >4.10.0 </version >
4545 </dependency >
4646
4747 Gradle
4848------
4949
50- Java 8 :
50+ Java 17 :
5151
5252.. code-block :: groovy
5353
54- compile ('org.web3j:quorum:4.8.4 ')
54+ compile ('org.web3j:quorum:4.10.0 ')
5555
5656
5757 Run Quorum
Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ plugins {
22 id ' java'
33 id ' idea'
44 id ' jacoco'
5- id " com.diffplug.gradle.spotless" version " 3.25.0 "
5+ id ' com.diffplug.gradle.spotless' version ' 4.5.1 '
66 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'
1111}
1212
1313
@@ -63,12 +63,12 @@ tasks.withType(Test) {
6363
6464compileKotlin {
6565 kotlinOptions {
66- jvmTarget = " 1.8 "
66+ jvmTarget = " 17 "
6767 }
6868}
6969compileTestKotlin {
7070 kotlinOptions {
71- jvmTarget = " 1.8 "
71+ jvmTarget = " 17 "
7272 }
7373}
7474testSets {
@@ -77,4 +77,4 @@ testSets {
7777 }
7878}
7979integrationTest. mustRunAfter test
80- compileIntegrationTestKotlin { kotlinOptions. jvmTarget = ' 1.8 ' }
80+ compileIntegrationTestKotlin { kotlinOptions. jvmTarget = ' 17 ' }
Original file line number Diff line number Diff line change 11group =org.web3j
2- version =4.9.5-SNAPSHOT
2+ version =4.10.0
33jacksonKotlinVersion =2.9.0
44logbackVersion =1.2.3
55junitVersion =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) {
2626}
2727
2828jacoco {
29- toolVersion = " 0.8.4 "
29+ toolVersion = " 0.8.10 "
3030}
3131
Original file line number Diff line number Diff line change 11apply plugin : ' java'
22
3- sourceCompatibility = 1.8
4- targetCompatibility = 1.8
3+ sourceCompatibility = 17
4+ targetCompatibility = 17
55
66compileJava {
77 options. compilerArgs << " -Xlint:unchecked" << " -Xlint:deprecation"
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =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
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments