Skip to content

Commit

Permalink
build: Fix version in file name
Browse files Browse the repository at this point in the history
  • Loading branch information
BlayTheNinth committed May 24, 2024
1 parent eb764a4 commit a7704b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions buildSrc/src/main/groovy/multiloader-common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ plugins {
}

base {
archivesName = "${mod_id}-${project.name}"
version = "${version}+${minecraft_version}"
archivesName = "${mod_id}-${project.name}-${minecraft_version}"
version = project.version
}

java {
Expand Down Expand Up @@ -108,7 +108,7 @@ publishing {
publications {
register('mavenJava', MavenPublication) {
version = project.version + (!project.version.endsWith("SNAPSHOT") ? "+" + minecraft_version : "")
artifactId base.archivesName.get()
artifactId "${mod_id}-${project.name}"
from components.java
}
}
Expand Down

0 comments on commit a7704b2

Please sign in to comment.