diff --git a/api/build.gradle.kts b/api/build.gradle.kts index c2231c1..6568c7e 100644 --- a/api/build.gradle.kts +++ b/api/build.gradle.kts @@ -8,6 +8,10 @@ fun prop(name: String) = project.rootProject.property(name) as String group = prop("group") version = prop("version") +base { + archivesName.set("${rootProject.name}-${project.name}") +} + repositories { mavenCentral() } diff --git a/fabric/build.gradle.kts b/fabric/build.gradle.kts index cf983bf..fda38ad 100644 --- a/fabric/build.gradle.kts +++ b/fabric/build.gradle.kts @@ -10,7 +10,7 @@ version = prop("version") group = prop("group") base { - archivesName.set(project.name) + archivesName.set("${rootProject.name}-${project.name}") } dependencies { diff --git a/http/build.gradle.kts b/http/build.gradle.kts index f3d24c0..036c2c3 100644 --- a/http/build.gradle.kts +++ b/http/build.gradle.kts @@ -8,6 +8,10 @@ fun prop(name: String) = project.rootProject.property(name) as String group = prop("group") version = prop("version") +base { + archivesName.set("${rootProject.name}-${project.name}") +} + repositories { mavenCentral() } diff --git a/paper/build.gradle.kts b/paper/build.gradle.kts index bbfb2eb..3f10ddf 100644 --- a/paper/build.gradle.kts +++ b/paper/build.gradle.kts @@ -10,6 +10,10 @@ fun prop(name: String) = project.rootProject.property(name) as String group = prop("group") version = prop("version") +base { + archivesName.set("${rootProject.name}-${project.name}") +} + repositories { mavenCentral() maven("https://repo.papermc.io/repository/maven-public/") diff --git a/spigot/build.gradle.kts b/spigot/build.gradle.kts index b79cc7b..879f6df 100644 --- a/spigot/build.gradle.kts +++ b/spigot/build.gradle.kts @@ -11,6 +11,10 @@ fun prop(name: String) = project.rootProject.property(name) as String group = prop("group") version = prop("version") +base { + archivesName.set("${rootProject.name}-${project.name}") +} + repositories { mavenCentral() maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")