From 18c6e6ec7296ea8a12fcd9dd58c0c0e2fdc02514 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Fri, 17 Jan 2025 01:50:17 +0100 Subject: build: Fix overlapping jar names --- build-src/src/main/kotlin/ledger-globals.gradle.kts | 3 +-- 1 file changed, 1 insertion(+), 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 { this.isPreserveFileTimestamps = false this.isReproducibleFileOrder = true + this.archiveBaseName.set("ledger-" + project.path.replace(":", "-").trim('-')) } tasks.withType { -- cgit