Skip to content

Commit

Permalink
bump Gradle to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
buchner committed Oct 26, 2024
1 parent 32f6d15 commit ac49586
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ val codeCoverageReport =
}

reports {
xml.isEnabled = true
xml.destination = file("${project.rootProject.buildDir}/reports/jacoco/report.xml")
xml.required.set(true)
xml.outputLocation.set(layout.buildDirectory.file("reports/jacoco/report.xml").get())
}
}

tasks.named("coverallsJacoco") { dependsOn(codeCoverageReport) }

coverallsJacoco {
reportPath = "${buildDir.name}/reports/jacoco/report.xml"
reportPath = layout.buildDirectory.file("reports/jacoco/report.xml").get().toString()
reportSourceSets =
subprojects.map { it.projectDir }
.flatMap { dir -> listOf("src/main/java", "src/main/kotlin").map { dir.resolve(it) } }
Expand Down Expand Up @@ -91,7 +91,7 @@ subprojects {
group = JavaBasePlugin.DOCUMENTATION_GROUP
description = "Assembles Kotlin documentation with Dokka."
archiveClassifier.set("javadoc")
from("$buildDir/dokka/javadoc")
from(layout.buildDirectory.dir("dokka/javadoc"))
}
dokkaJar.dependsOn(tasks.dokkaJavadoc)
artifacts.add("archives", dokkaJar)
Expand Down

0 comments on commit ac49586

Please sign in to comment.