Skip to content

Commit bc408ad

Browse files
authored
Merge pull request #81 from hyperledger/upgradeGradle8.7
Upgrade gradle to 8.7
2 parents 1478206 + 9a3504f commit bc408ad

25 files changed

+249
-188
lines changed

CHANGELOG.md

+2-2
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 remove Consensys Repo dependency [#81](https://github.com/hyperledger/web3j-unit/pull/81)
1919

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

build.gradle

+7-7
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ plugins {
33
id 'idea'
44
id 'jacoco'
55
id 'com.jfrog.bintray' version '1.8.4'
6-
id 'com.diffplug.gradle.spotless' version '4.5.1'
7-
id 'io.codearte.nexus-staging' version '0.21.1'
6+
id 'com.diffplug.spotless' version '6.25.0'
7+
id 'io.codearte.nexus-staging' version '0.30.0'
88
id 'de.marcphilipp.nexus-publish' version '0.4.0'
9-
id 'org.jetbrains.kotlin.jvm' version '1.8.10'
9+
id 'org.jetbrains.kotlin.jvm' version '1.9.24'
1010
id 'de.undercouch.download' version '4.1.2'
1111
}
1212

@@ -15,10 +15,10 @@ description 'Web3j-unit extension'
1515

1616
ext {
1717
web3jVersion = version
18-
kotlinLoggingVersion = '1.6.24'
19-
logbackVersion = '1.4.14'
20-
mockitoKotlinVersion = '1.8.10'
21-
testContainersVersion = '1.19.7'
18+
kotlinLoggingVersion = '3.0.5'
19+
logbackVersion = '1.5.6'
20+
mockitoKotlinVersion = '1.9.24'
21+
testContainersVersion = '1.19.8'
2222
besuPluginVersion = '24.1.1'
2323
besuInternalVersion = '24.1.1'
2424
besuInternalCryptoVersion = '23.1.3'

gradle.properties

+1-1
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

+3-1
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.enabled = true }
9+
reports {
10+
xml.required.set(true)
11+
}
1012

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

gradle/junit/build.gradle

+1-1
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

+3-3
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) {
@@ -26,7 +26,7 @@ spotless {
2626
exclude '**/build/install/**'
2727
}
2828
removeUnusedImports()
29-
googleJavaFormat("1.7").aosp()
29+
googleJavaFormat("1.17.0").aosp()
3030
importOrder 'java', '', 'org.web3j', '\\#'
3131
trimTrailingWhitespace()
3232
endWithNewline()
@@ -39,7 +39,7 @@ spotless {
3939
exclude '**/.gradle/**'
4040
exclude '**/build/install/**'
4141
}
42-
ktlint('0.31.0')
42+
ktlint('0.49.1')
4343
trimTrailingWhitespace()
4444
endWithNewline()
4545
licenseHeaderFile "$rootDir/gradle/spotless/java.license"

gradle/wrapper/gradle-wrapper.jar

-11.9 KB
Binary file not shown.
+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
#Mon Sep 23 12:08:44 BST 2019
2-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
31
distributionBase=GRADLE_USER_HOME
42
distributionPath=wrapper/dists
5-
zipStorePath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME
7+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)