]> git.lizzy.rs Git - BoundingBoxOutlineReloaded.git/blobdiff - build.gradle
Bump version
[BoundingBoxOutlineReloaded.git] / build.gradle
index 8b9db04564061a63fa673fdbbaac0920ec1f7180..0346daf4a2256f7d8068215f51e401ad5314b03c 100644 (file)
@@ -6,7 +6,7 @@ buildscript {
         maven { url 'https://files.minecraftforge.net/maven' }
     }
     dependencies {
-        classpath 'com.github.Irtimaled:ForgeGradle:' + project.mcVersion+ '-SNAPSHOT'
+        classpath 'com.github.Irtimaled:ForgeGradle:2.6-SNAPSHOT'
         classpath 'org.spongepowered:mixingradle:0.6-SNAPSHOT'
     }
 }
@@ -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 {
@@ -65,10 +61,10 @@ sourceSets {
 processResources {
     filesMatching('profile.json') {
         expand([
-            'version': project.version,
-            'mcVersion': project.mcVersion,
-            'tweakClass': project.minecraft.tweakClass,
-            'formattedTime': new Date().format("yyyy-MM-dd'T'HH:mm:ss'-08:00'")
+                'version'      : project.version,
+                'mcVersion'    : project.mcVersion,
+                'tweakClass'   : project.minecraft.tweakClass,
+                'formattedTime': new Date().format("yyyy-MM-dd'T'HH:mm:ss'-08:00'")
         ])
     }
 
@@ -78,10 +74,19 @@ 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'
 }