aboutsummaryrefslogtreecommitdiff
path: root/build-src/src/main/kotlin/ledger-globals.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'build-src/src/main/kotlin/ledger-globals.gradle.kts')
-rw-r--r--build-src/src/main/kotlin/ledger-globals.gradle.kts3
1 files changed, 1 insertions, 2 deletions
diff --git a/build-src/src/main/kotlin/ledger-globals.gradle.kts b/build-src/src/main/kotlin/ledger-globals.gradle.kts
index 036c63d..8d49379 100644
--- a/build-src/src/main/kotlin/ledger-globals.gradle.kts
+++ b/build-src/src/main/kotlin/ledger-globals.gradle.kts
@@ -1,5 +1,3 @@
-import org.gradle.api.tasks.bundling.AbstractArchiveTask
-
repositories {
mavenCentral()
maven("https://repo.nea.moe/releases/")
@@ -11,6 +9,7 @@ repositories {
tasks.withType<AbstractArchiveTask> {
this.isPreserveFileTimestamps = false
this.isReproducibleFileOrder = true
+ this.archiveBaseName.set("ledger-" + project.path.replace(":", "-").trim('-'))
}
tasks.withType<Test> {