Skip to content

Commit b5ae799

Browse files
committed
feat(gradle):update to gradle8
1 parent 44e0cc9 commit b5ae799

File tree

12 files changed

+225
-166
lines changed

12 files changed

+225
-166
lines changed

actuator/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ test {
3333

3434
jacocoTestReport {
3535
reports {
36-
xml.enabled = true
37-
html.enabled = true
36+
xml.required.set(true)
37+
html.required.set(true)
3838
}
3939
getExecutionData().setFrom(fileTree('../framework/build/jacoco').include("**.exec"))
4040
afterEvaluate {

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ subprojects {
104104
}
105105

106106
task sourcesJar(type: Jar, dependsOn: classes) {
107-
classifier = "sources"
107+
archiveClassifier.set('sources')
108108
from sourceSets.main.allSource
109109
duplicatesStrategy = DuplicatesStrategy.INCLUDE // allow duplicates
110110
}

chainbase/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ test {
4242
jacocoTestReport {
4343
dependsOn(processResources) // explicit_dependency
4444
reports {
45-
xml.enabled = true
46-
html.enabled = true
45+
xml.required.set(true)
46+
html.required.set(true)
4747
}
4848
getExecutionData().setFrom(fileTree('../framework/build/jacoco').include("**.exec"))
4949
afterEvaluate {

common/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ dependencies {
3939

4040
jacocoTestReport {
4141
reports {
42-
xml.enabled = true
43-
html.enabled = true
42+
xml.required.set(true)
43+
html.required.set(true)
4444
}
4545
getExecutionData().setFrom(fileTree('../framework/build/jacoco').include("**.exec"))
4646
afterEvaluate {

consensus/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ test {
3232

3333
jacocoTestReport {
3434
reports {
35-
xml.enabled = true
36-
html.enabled = true
35+
xml.required.set(true)
36+
html.required.set(true)
3737
}
3838
getExecutionData().setFrom(fileTree('../framework/build/jacoco').include("**.exec"))
3939
afterEvaluate {

crypto/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ dependencies {
1010

1111
jacocoTestReport {
1212
reports {
13-
xml.enabled = true
14-
html.enabled = true
13+
xml.required.set(true)
14+
html.required.set(true)
1515
}
1616
getExecutionData().setFrom(fileTree('../framework/build/jacoco').include("**.exec"))
1717
afterEvaluate {

framework/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,17 +146,17 @@ test {
146146

147147
jacocoTestReport {
148148
reports {
149-
xml.enabled true
150-
csv.enabled false
149+
xml.required.set(true)
150+
csv.required.set(false)
151151
html.destination file("${buildDir}/jacocoHtml")
152152
}
153153
getExecutionData().setFrom(fileTree('../framework/build/jacoco').include("**.exec"))
154154
}
155155

156156
def binaryRelease(taskName, jarName, mainClass) {
157157
return tasks.create("${taskName}", Jar) {
158-
baseName = jarName
159-
version = null
158+
archiveBaseName.set(jarName)
159+
archiveVersion.set('')
160160
from(sourceSets.main.output) {
161161
include "/**"
162162
}

gradle/wrapper/gradle-wrapper.jar

-11.6 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.4-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
46
zipStoreBase=GRADLE_USER_HOME
57
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)