@@ -18,10 +18,11 @@ ext {
1818 logbackVersion = ' 1.5.6'
1919 mockitoKotlinVersion = ' 1.9.24'
2020 testContainersVersion = ' 1.19.8'
21- besuPluginVersion = ' 24.1.2 '
22- besuInternalVersion = ' 24.1.2 '
21+ besuPluginVersion = ' 25.2.1 '
22+ besuInternalVersion = ' 25.2.1 '
2323 besuInternalCryptoVersion = ' 23.1.3'
24- besuCryptoDepVersion = ' 0.8.3'
24+ besuCryptoDepVersion = ' 1.1.2'
25+ besuBlsVersion = ' 1.0.0'
2526}
2627
2728apply {
@@ -35,7 +36,7 @@ apply {
3536 ' junit'
3637 ]. each { buildScript ->
3738 download {
38- src " https://raw.githubusercontent.com/hyperledger -web3j/web3j-build-tools/main/gradle/$buildScript /build.gradle"
39+ src " https://raw.githubusercontent.com/LFDT -web3j/web3j-build-tools/main/gradle/$buildScript /build.gradle"
3940 dest " $rootDir /gradle/$buildScript /build.gradle"
4041 overwrite false
4142 quiet true
@@ -80,7 +81,7 @@ dependencies {
8081 implementation " org.hyperledger.besu.internal:metrics-core:$besuInternalVersion "
8182 implementation " org.hyperledger.besu.internal:trie:$besuInternalVersion "
8283 implementation " org.hyperledger.besu.internal:util:$besuInternalVersion "
83- implementation " org.hyperledger.besu:bls12-381:$b esuCryptoDepVersion "
84+ implementation " org.hyperledger.besu:bls12-381:$b esuBlsVersion "
8485
8586 implementation " org.hyperledger.besu:secp256k1:$besuCryptoDepVersion "
8687}
@@ -90,17 +91,14 @@ test {
9091}
9192
9293compileKotlin {
93- kotlinOptions {
94- jvmTarget = " 17"
95- }
94+ kotlinOptions. jvmTarget = " 21"
9695}
9796
9897compileTestKotlin {
99- kotlinOptions {
100- jvmTarget = " 17"
101- }
98+ kotlinOptions. jvmTarget = " 21"
10299}
103100
101+
104102tasks. named(" spotlessKotlin" ). configure { dependsOn(" compileKotlin" ," spotlessJava" , " spotlessGroovyGradle" ," processTestResources" ) }
105103tasks. named(" spotlessJava" ). configure { dependsOn(" compileTestJava" ," compileTestKotlin" ," compileKotlin" ," compileTestKotlin" ," spotlessGroovyGradle" ," processTestResources" ) }
106104tasks. named(" test" ). configure { dependsOn(" spotlessKotlin" ," spotlessJava" ) }
0 commit comments