aboutsummaryrefslogtreecommitdiff
path: root/build-src/src/main
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2025-01-17 01:50:17 +0100
committerLinnea Gräf <nea@nea.moe>2025-01-17 01:50:17 +0100
commit18c6e6ec7296ea8a12fcd9dd58c0c0e2fdc02514 (patch)
treef79818d2bbf980d13855b986564739809d997ef5 /build-src/src/main
parent38409988c0ed3e171e77ee691154775b36ed1e00 (diff)
downloadLocalTransactionLedger-18c6e6ec7296ea8a12fcd9dd58c0c0e2fdc02514.tar.gz
LocalTransactionLedger-18c6e6ec7296ea8a12fcd9dd58c0c0e2fdc02514.tar.bz2
LocalTransactionLedger-18c6e6ec7296ea8a12fcd9dd58c0c0e2fdc02514.zip
build: Fix overlapping jar names
Diffstat (limited to 'build-src/src/main')
-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> {