Skip to content

Commit 2373cf9

Browse files
Updating to gradle 8.4
1 parent 34a3b5b commit 2373cf9

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

gradle/scripts/jacoco.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33

44
// general configuration
55
jacoco {
6-
toolVersion = "0.8.7"
7-
reportsDir = file("$buildDir/reports/jacoco")
6+
toolVersion = "0.8.10"
7+
reportsDirectory = layout.projectDirectory.dir("$rootDir/build/reports/jacoco")
88
}
99

1010
jacocoTestReport {
1111
reports {
12-
xml.enabled true
13-
csv.enabled false
14-
html.enabled true
15-
html.destination file("${buildDir}/reports/jacoco")
12+
xml.required = true
13+
csv.required = false
14+
html.required = true
15+
html.destination file("${rootDir}/build/reports/jacoco")
1616
}
1717

1818
// what to exclude from coverage report (files that should not be analyzed!)
@@ -28,7 +28,7 @@ jacocoTestReport {
2828
]
2929

3030
getClassDirectories().setFrom(fileTree(
31-
dir: "$buildDir/classes/",
31+
dir: "$rootDir/build/classes/",
3232
excludes: excludes
3333
))
3434

gradle/scripts/mavenCentralPublish.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/* Maven publish - start */
22
task sourcesJar(type: Jar) {
3-
classifier "sources"
3+
archiveClassifier.set("sources")
44
from sourceSets.main.allJava
55
}
66

77
task javadocJar(type: Jar, dependsOn: javadoc) {
8-
classifier "javadoc"
8+
archiveClassifier.set("javadoc")
99
from javadoc.destinationDir
1010
}
1111

@@ -91,7 +91,7 @@ if (project.hasProperty('user') && project.hasProperty('password') && project.ha
9191

9292
model {
9393
tasks.generatePomFileForMavenJavaPublication {
94-
destination = file("$buildDir/generated-pom.xml")
94+
destination = file("$rootDir/generated-pom.xml")
9595
}
9696
}
9797
}

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#Mon Dec 02 10:39:11 CET 2019
2-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
2+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
33
distributionBase=GRADLE_USER_HOME
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)