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, 2 insertions, 1 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..4238322 100644
--- a/build-src/src/main/kotlin/ledger-globals.gradle.kts
+++ b/build-src/src/main/kotlin/ledger-globals.gradle.kts
@@ -1,4 +1,4 @@
-import org.gradle.api.tasks.bundling.AbstractArchiveTask
+apply(plugin = "org.gradle.base")
repositories {
mavenCentral()
@@ -11,6 +11,7 @@ repositories {
tasks.withType<AbstractArchiveTask> {
this.isPreserveFileTimestamps = false
this.isReproducibleFileOrder = true
+ this.archiveBaseName.set("ledger-" + project.path.replace(":", "-").trim('-'))
}
tasks.withType<Test> {