Skip to content

Commit

Permalink
chore: Upgrade to Gradle 8.11
Browse files Browse the repository at this point in the history
  • Loading branch information
bric3 committed Nov 12, 2024
1 parent 847a732 commit 7850c1c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ allprojects {
}
} else {
name = "build-dir"
url = uri("${rootProject.buildDir}/publishing-repository")
url = uri(rootProject.layout.buildDirectory.file("publishing-repository"))
}
project.extra["publishingRepositoryUrl"] = url
}
Expand All @@ -135,7 +135,7 @@ allprojects {
tasks {
named("clean") {
doLast {
delete("${project.buildDir}/publishing-repository")
delete(rootProject.layout.buildDirectory.file("publishing-repository"))
}
}
withType(Jar::class) {
Expand Down Expand Up @@ -183,14 +183,14 @@ tasks {

register<de.undercouch.gradle.tasks.download.Download>("downloadFile") {
src("https://zenodo.org/record/3227177/files/SSH.tar.gz")
dest(File(buildDir, "SSH.tar.gz"))
dest(layout.buildDirectory.file("SSH.tar.gz"))
onlyIfModified(true)
}

register<Copy>("unpackFile") {
dependsOn("downloadFile")
from(tarTree(File(buildDir, "SSH.tar.gz")))
into(buildDir)
from(tarTree(layout.buildDirectory.file("SSH.tar.gz")))
into(layout.buildDirectory)
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down

0 comments on commit 7850c1c

Please sign in to comment.