Skip to content

Commit

Permalink
Add foojay to download JVMs, update to Gradle 8.5
Browse files Browse the repository at this point in the history
  • Loading branch information
octylFractal committed Jan 21, 2024
1 parent 3295242 commit cd8bca9
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Expand Up @@ -51,12 +51,12 @@ val totalReport = tasks.register<JacocoReport>("jacocoTotalReport") {
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"))
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
@@ -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
Expand Down
4 changes: 4 additions & 0 deletions settings.gradle.kts
@@ -1,3 +1,7 @@
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}

rootProject.name = "worldedit"

include("worldedit-libs")
Expand Down
2 changes: 1 addition & 1 deletion worldedit-core/build.gradle.kts
Expand Up @@ -88,7 +88,7 @@ tasks.named("sourcesJar") {

configure<LicenseExtension> {
exclude {
it.file.startsWith(project.buildDir)
it.file.startsWith(project.layout.buildDirectory.get().asFile)
}
}
tasks.withType<Checkstyle>().configureEach {
Expand Down

0 comments on commit cd8bca9

Please sign in to comment.