Fix: Changing mod_name not updating build jar.
This commit is contained in:
@@ -41,6 +41,11 @@ repositories {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.named<Jar>("jar") {
|
||||||
|
archiveBaseName.set(project.property("mod_name").toString())
|
||||||
|
archiveVersion.set(project.property("version").toString())
|
||||||
|
}
|
||||||
|
|
||||||
// Uncomment if you are using IntelliJ.
|
// Uncomment if you are using IntelliJ.
|
||||||
// idea {
|
// idea {
|
||||||
// module {
|
// module {
|
||||||
|
|||||||
Reference in New Issue
Block a user