File names now end with minecraft minor version and should not contain patch id.
This commit is contained in:
parent
c344e01c26
commit
acba0d0cb8
@ -7,7 +7,7 @@ sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
|
||||
archivesBaseName = project.archives_base_name
|
||||
version = "${project.mod_version}-${project.minecraft_version}"
|
||||
version = "${project.mod_version}-${getMcMinor(project.minecraft_version)}"
|
||||
group = project.maven_group
|
||||
|
||||
minecraft {
|
||||
@ -95,3 +95,9 @@ publishing {
|
||||
// mavenLocal()
|
||||
}
|
||||
}
|
||||
|
||||
static def getMcMinor(ver) {
|
||||
String[] arr = ((String)ver).split("\\.");
|
||||
|
||||
return (String)(arr[0] + "." + arr[1]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user