Skip to content

Commit

Permalink
fix: archive names
Browse files Browse the repository at this point in the history
  • Loading branch information
andantet committed Nov 5, 2024
1 parent c3bbe05 commit b3f378e
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 1 deletion.
4 changes: 4 additions & 0 deletions api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down
2 changes: 1 addition & 1 deletion fabric/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ version = prop("version")
group = prop("group")

base {
archivesName.set(project.name)
archivesName.set("${rootProject.name}-${project.name}")
}

dependencies {
Expand Down
4 changes: 4 additions & 0 deletions http/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down
4 changes: 4 additions & 0 deletions paper/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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/")
Expand Down
4 changes: 4 additions & 0 deletions spigot/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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/")
Expand Down

0 comments on commit b3f378e

Please sign in to comment.