Add foojay to download JVMs, update to Gradle 8.5

This commit is contained in:
Octavia Togami 2024-01-21 14:29:02 -08:00
parent 329524288d
commit cd8bca9a43
No known key found for this signature in database
GPG Key ID: CC364524D1983C99
5 changed files with 8 additions and 4 deletions

View File

@ -51,12 +51,12 @@
proj.apply(plugin = "jacoco")
proj.plugins.withId("java") {
executionData(
fileTree(proj.buildDir.absolutePath).include("**/jacoco/*.exec")
fileTree(proj.layout.buildDirectory).include("**/jacoco/*.exec")
)
sourceSets(proj.the<JavaPluginExtension>().sourceSets["main"])
reports {
xml.required.set(true)
xml.outputLocation.set(rootProject.buildDir.resolve("reports/jacoco/report.xml"))
xml.outputLocation.set(rootProject.layout.buildDirectory.file("reports/jacoco/report.xml"))
html.required.set(true)
}
dependsOn(proj.tasks.named("test"))

Binary file not shown.

View File

@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME

View File

@ -1,3 +1,7 @@
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}
rootProject.name = "worldedit"
include("worldedit-libs")

View File

@ -88,7 +88,7 @@
configure<LicenseExtension> {
exclude {
it.file.startsWith(project.buildDir)
it.file.startsWith(project.layout.buildDirectory.get().asFile)
}
}
tasks.withType<Checkstyle>().configureEach {