Skip to content

Commit

Permalink
Merge pull request #578 from molgenis/chore/remove-deprecation-warnin…
Browse files Browse the repository at this point in the history
…gs-2

Upgrade to gradle-8.0.0
  • Loading branch information
clemens-tolboom authored Dec 13, 2023
2 parents 9e5e466 + 5f73101 commit 198166c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion armadillo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ dependencies {

jacocoTestReport {
reports {
xml.enabled true
xml.required
}
dependsOn test
}
Expand Down
12 changes: 5 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ springBoot {
buildInfo()
}
bootJar {
mainClassName = mainClassName
mainClass = mainClassName
manifest {
attributes(
'Specification-Version': project.version.toString(),
Expand All @@ -105,7 +105,7 @@ bootJar {

//define run
application {
mainClass.set(mainClassName)
mainClass.set(rootProject.mainClassName)
}

//define release
Expand All @@ -123,8 +123,8 @@ docker {
name imageName
tags 'latest', tagName
dockerfile file('Dockerfile')
files bootJar.archivePath
buildArgs(['JAR_FILE': "${bootJar.archiveName}"])
files bootJar.archiveFile
buildArgs(['JAR_FILE': "${bootJar.archiveFile.get().asFile.name}"])
}
dockerPrepare.dependsOn bootJar

Expand All @@ -141,9 +141,7 @@ task jacocoMergedReport(type: JacocoReport) {
classDirectories.setFrom files(subprojects.sourceSets.main.output)
executionData.setFrom project.fileTree(dir: '.', include: '**/build/jacoco/test.exec')
reports {
xml.enabled true
csv.enabled false
html.enabled false
xml.required
}
}

Expand Down
2 changes: 1 addition & 1 deletion r/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ build.dependsOn spotlessApply

jacocoTestReport {
reports {
xml.enabled true
xml.required
}
dependsOn test
}
Expand Down

0 comments on commit 198166c

Please sign in to comment.