Skip to content

Commit 6bb3a0e

Browse files
authored
Merge pull request #110 from hyperledger/upgradeGradle8.7
Upgrade to gradle 8.7
2 parents 3fa3610 + c410ff9 commit 6bb3a0e

22 files changed

+356
-267
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6-
# [4.11.4]() (Upcoming)
6+
# [4.12.0]() (Upcoming)
77

88
### Bug Fixes
99

@@ -15,7 +15,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
1515

1616
### BREAKING CHANGES
1717

18-
*
18+
* Upgrade gradle to 8.7 and removed Consensys Repo dependency [#110](https://github.com/hyperledger/web3j-evm/pull/110)
1919

2020
# [4.11.3](https://github.com/hyperledger/web3j-evm/releases/tag/v4.11.3) (2024-05-01)
2121

build.gradle

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@ plugins {
44
id 'idea'
55
id 'jacoco'
66
id 'com.jfrog.bintray' version '1.8.4'
7-
id 'com.diffplug.gradle.spotless' version '4.5.1'
8-
id 'io.codearte.nexus-staging' version '0.21.1'
7+
id 'com.diffplug.spotless' version '6.25.0'
8+
id 'io.codearte.nexus-staging' version '0.30.0'
99
id 'de.marcphilipp.nexus-publish' version '0.4.0'
10-
id 'org.jetbrains.kotlin.jvm' version '1.8.10'
10+
id 'org.jetbrains.kotlin.jvm' version '1.9.24'
1111
id 'de.undercouch.download' version '4.1.2'
1212
}
1313

1414
description 'Web3j-evm extension'
1515

1616
ext {
17-
web3jVersion = '4.11.3'
18-
log4jVersion = '2.15.0'
19-
guavaVersion = '28.1-jre'
17+
web3jVersion = '4.12.0-SNAPSHOT'
18+
log4jVersion = '2.23.1'
19+
guavaVersion = '33.2.0-jre'
2020
jacksonVersion = '2.10.0'
21-
klaxonVersion = '5.0.1'
22-
kotlinVersion = '1.8.10'
21+
klaxonVersion = '5.6'
22+
kotlinVersion = '1.9.24'
2323
besuPluginVersion = '24.1.1'
2424
besuInternalVersion = '24.1.1'
2525
besuInternalCryptoVersion = '23.1.3'
@@ -51,7 +51,6 @@ apply {
5151
repositories {
5252
mavenCentral()
5353
maven { url "https://hyperledger.jfrog.io/artifactory/besu-maven/" }
54-
maven { url "https://artifacts.consensys.net/public/maven/maven/" }
5554
maven { url "https://splunk.jfrog.io/splunk/ext-releases-local" }
5655
}
5756

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
kotlin.code.style=official
22
group=org.web3j
3-
version=4.11.4-SNAPSHOT
3+
version=4.12.0-SNAPSHOT

gradle/jacoco/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ task jacocoRootTestReport(type: org.gradle.testing.jacoco.tasks.JacocoReport) {
66
getAdditionalSourceDirs().from(subprojects.sourceSets.main.allSource.srcDirs)
77
getClassDirectories().from(subprojects.sourceSets.main.output)
88
getExecutionData().from(subprojects.jacocoTestReport.executionData)
9-
reports { xml.required = true }
9+
reports {
10+
xml.required.set(true)
11+
}
1012

1113
doFirst {
1214
getExecutionData().from(executionData.findAll { it.exists() })

gradle/junit/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ext {
2-
junitVersion = '5.5.2'
2+
junitVersion = '5.9.3'
33
}
44

55
dependencies {

gradle/spotless/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
apply plugin: 'com.diffplug.gradle.spotless'
2+
apply plugin: 'com.diffplug.spotless'
33
apply plugin: "de.undercouch.download"
44

55
task downloadJavaLicense(type: Download) {
@@ -27,7 +27,7 @@ spotless {
2727
exclude '**/build/install/**'
2828
}
2929
removeUnusedImports()
30-
googleJavaFormat("1.7").aosp()
30+
googleJavaFormat("1.17.0").aosp()
3131
importOrder 'java', '', 'org.web3j', '\\#'
3232
trimTrailingWhitespace()
3333
endWithNewline()
@@ -40,7 +40,7 @@ spotless {
4040
exclude '**/.gradle/**'
4141
exclude '**/build/install/**'
4242
}
43-
ktlint('0.31.0')
43+
ktlint('0.49.1')
4444
trimTrailingWhitespace()
4545
endWithNewline()
4646
licenseHeaderFile "$rootDir/gradle/spotless/java.license"

gradle/wrapper/gradle-wrapper.jar

-15.4 KB
Binary file not shown.
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
46
zipStoreBase=GRADLE_USER_HOME
57
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)