X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=build.gradle;h=b9d018879edbd87d653fc8418f5da053df7526dd;hb=e1478c850a397a514ff3e4416a4e0a5ff1bda7f0;hp=c84131daffade1a0ccd88e2a40e21ea3c5aa48ea;hpb=2c3ab276307ba71a3f40676347b64d302b14b3cb;p=BoundingBoxOutlineReloaded.git diff --git a/build.gradle b/build.gradle index c84131d..b9d0188 100644 --- a/build.gradle +++ b/build.gradle @@ -30,24 +30,20 @@ repositories { } dependencies { - implementation('org.spongepowered:mixin:0.7.11-SNAPSHOT') { transitive = false } + implementation('org.spongepowered:mixin:0.8') { transitive = false } implementation('net.minecraft:launchwrapper:1.12') { transitive = false } - implementation 'org.ow2.asm:asm:6.2' + implementation 'org.ow2.asm:asm-tree:6.2' implementation 'org.ow2.asm:asm-commons:6.2' + implementation "org.ow2.asm:asm-util:6.2" } minecraft { version = project.mcVersion - mappings = 'snapshot_20180908' + mappings = 'snapshot_20190624' runDir = 'run' tweakClass = 'com.irtimaled.bbor.launch.ClientTweaker' makeObfSourceJar = false - - replace "@VERSION@", project.version - replaceIn "com/irtimaled/bbor/Main.java" - - replace "@MC_VERSION@", project.mcVersion - replaceIn "com/irtimaled/bbor/Main.java" + clientJvmArgs = ['-XstartOnFirstThread'] } mixin { @@ -78,9 +74,18 @@ processResources { jar { finalizedBy reobfJar - manifest.attributes( - 'Main-Class': 'com.irtimaled.bbor.Main' - ) + manifest { + attributes([ + "Main-Class": "com.irtimaled.bbor.Main", + "Specification-Title": "bbor", + "Specification-Vendor": "Irtimaled", + "Specification-Version": "1", // We are version 1 of ourselves + "Implementation-Title": project.name, + "Implementation-Version": "${version}", + "Implementation-Vendor": "Irtimaled", + "Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ") + ]) + } classifier = 'vanilla' }