mirror of
https://github.com/Anvilcraft/modpacktools
synced 2024-06-02 10:39:59 +02:00
change version property to jarVersion due to deprecation
This commit is contained in:
parent
339df08f51
commit
02b8b363b3
|
@ -11,10 +11,10 @@ import org.jlleitschuh.gradle.ktlint.reporter.ReporterType.PLAIN
|
||||||
val specTitle = "ModPackTools"
|
val specTitle = "ModPackTools"
|
||||||
val jarName = specTitle
|
val jarName = specTitle
|
||||||
val implTitle = "ley.anvil.modpacktools"
|
val implTitle = "ley.anvil.modpacktools"
|
||||||
|
val jarVersion = "1.2-SNAPSHOT"
|
||||||
group = "ley.anvil"
|
group = "ley.anvil"
|
||||||
application.mainClassName = "ley.anvil.modpacktools.Main"
|
|
||||||
|
|
||||||
version = "1.2-SNAPSHOT"
|
application.mainClassName = "ley.anvil.modpacktools.Main"
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("java")
|
id("java")
|
||||||
|
@ -90,7 +90,7 @@ task("fatJar", Jar::class) {
|
||||||
group = "build" //sets group in intelliJ's side bar
|
group = "build" //sets group in intelliJ's side bar
|
||||||
manifest.attributes.apply {
|
manifest.attributes.apply {
|
||||||
set("Main-Class", application.mainClassName)
|
set("Main-Class", application.mainClassName)
|
||||||
set("Implementation-Version", version)
|
set("Implementation-Version", jarVersion)
|
||||||
set("Specification-Title", specTitle)
|
set("Specification-Title", specTitle)
|
||||||
set("Implementation-Title", implTitle)
|
set("Implementation-Title", implTitle)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue