File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,15 +11,20 @@ executors:
1111
1212commands :
1313 install_java :
14- description : " Install Java 11 "
14+ description : " Install Java 21 "
1515 steps :
1616 - run :
17- name : Install Java 11
17+ name : Install Java 21
1818 command : |
19- sudo apt-get update
20- sudo apt-get install -y openjdk-11-jdk
21- sudo update-alternatives --set java /usr/lib/jvm/java-11-openjdk-amd64/bin/java
22- sudo update-alternatives --set javac /usr/lib/jvm/java-11-openjdk-amd64/bin/javac
19+ sudo apt update
20+ sudo apt install -y openjdk-21-jdk
21+ if [ "$(uname -m)" = "aarch64" ]; then
22+ ARCH="arm64"
23+ else
24+ ARCH="amd64"
25+ fi
26+ sudo update-alternatives --set java /usr/lib/jvm/java-21-openjdk-$ARCH/bin/java
27+ sudo update-alternatives --set javac /usr/lib/jvm/java-21-openjdk-$ARCH/bin/javac
2328 prepare :
2429 description : " Prepare"
2530 steps :
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ apply from: "${rootDir}/gradle/versions.gradle"
1717apply from : " ${ rootDir} /gradle/check-licenses.gradle"
1818defaultTasks ' build' , ' checkLicenses'
1919
20- sourceCompatibility = ' 11 '
21- targetCompatibility = ' 11 '
20+ sourceCompatibility = JavaVersion . VERSION_21
21+ targetCompatibility = JavaVersion . VERSION_21
2222
2323repositories {
2424 mavenCentral()
@@ -27,10 +27,10 @@ repositories {
2727
2828dependencies {
2929 implementation ' io.vertx:vertx-core'
30- implementation ' io.tmio :tuweni-bytes'
31- implementation ' io.tmio :tuweni-crypto'
32- implementation ' io.tmio :tuweni-rlp'
33- implementation ' io.tmio :tuweni-units'
30+ implementation ' io.consensys.tuweni :tuweni-bytes'
31+ implementation ' io.consensys.tuweni :tuweni-crypto'
32+ implementation ' io.consensys.tuweni :tuweni-rlp'
33+ implementation ' io.consensys.tuweni :tuweni-units'
3434 implementation ' org.bouncycastle:bcprov-jdk18on'
3535
3636 implementation ' com.google.guava:guava'
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ dependencyManagement {
2626 dependency ' org.mockito:mockito-core:5.12.0'
2727
2828 dependency ' io.vertx:vertx-core:4.5.9'
29- dependencySet(group : ' io.tmio ' , version : ' 2.4.2 ' ) {
29+ dependencySet(group : ' io.consensys.tuweni ' , version : ' 2.7.0 ' ) {
3030 entry ' tuweni-bytes'
3131 entry ' tuweni-crypto'
3232 entry ' tuweni-rlp'
You can’t perform that action at this time.
0 commit comments