diff --git a/build.gradle b/build.gradle index c8f421e..ebfa5e7 100644 --- a/build.gradle +++ b/build.gradle @@ -151,9 +151,9 @@ jar { attributes([ "Specification-Title" : project.name, "Specification-Vendor" : "zontreck", - "Specification-Version" : "1", // We are version 1 of ourselves - "Implementation-Title" : project.name, - "Implementation-Version" : version, + "Specification-Version": "${myversion}", + "Implementation-Title": project.name, + "Implementation-Version": "${myversion}", "Implementation-Vendor" : "zontreck", "Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ") ]) @@ -174,9 +174,9 @@ task devJar(type: Jar) { attributes([ "Specification-Title": project.name, "Specification-Vendor": "zontreck", - "Specification-Version": "1", + "Specification-Version": "${myversion}", "Implementation-Title": project.name, - "Implementation-Version": version, + "Implementation-Version": "${myversion}", "Implementation-Vendor": "zontreck", "Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ") ]) diff --git a/gradle.properties b/gradle.properties index c4bc40e..5886d92 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,5 +5,5 @@ org.gradle.daemon=false mc_version=1.18.2 forge_version=40.2.1 -myversion=1.0.5.0305231539 +myversion=1.0.5.0306230154 parchment_version=2022.11.06