Skip to content

Commit

Permalink
Fix maven publication issue
Browse files Browse the repository at this point in the history
Signed-off-by: Pablo Herrera <[email protected]>
  • Loading branch information
Pablete1234 committed Nov 18, 2024
1 parent a86687f commit 61716ba
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ tasks.named<ShadowJar>("shadowJar") {
attributes["paperweight-mappings-namespace"] = "mojang"
}
archiveFileName = "PGM.jar"
archiveClassifier.set("")
destinationDirectory = rootProject.projectDir.resolve("build/libs")

minimize {
Expand Down Expand Up @@ -58,9 +59,9 @@ tasks.named<ShadowJar>("shadowJar") {

publishing {
publications.create<MavenPublication>("pgm") {
groupId = rootProject.group as String
groupId = project.group as String
artifactId = project.name
version = rootProject.version as String
version = project.version as String

artifact(tasks["shadowJar"])
}
Expand Down

0 comments on commit 61716ba

Please sign in to comment.