@@ -6,7 +6,6 @@ buildscript {
66 }
77 dependencies {
88 classpath ' net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
9- classpath ' org.spongepowered:mixingradle:0.6-SNAPSHOT'
109 }
1110}
1211
@@ -17,12 +16,10 @@ plugins {
1716
1817apply plugin : ' java'
1918apply plugin : ' net.minecraftforge.gradle.forge'
20- apply plugin : ' org.spongepowered.mixin'
2119
2220repositories {
2321 maven { url = " https://jitpack.io" }
2422 maven { url = ' http://oss.sonatype.org/content/repositories/public/' }
25- maven { url = " http://repo.spongepowered.org/maven" }
2623}
2724
2825configurations {
@@ -34,7 +31,6 @@ dependencies {
3431 embed ' com.flowpowered:flow-math:1.0.3'
3532 embed ' org.jgrapht:jgrapht-core:1.1.0'
3633 embed ' com.github.DimensionalDevelopment:poly2tri.java:master-SNAPSHOT'
37- embed(" org.spongepowered:mixin:0.7.8-SNAPSHOT" ) { transitive = false }
3834 compileOnly ' com.github.DimensionalDevelopment:AnnotatedNBT:-SNAPSHOT'
3935 compileOnly ' io.github.opencubicchunks:cubicchunks:1.12.2-0.0.819.0-SNAPSHOT'
4036}
@@ -71,22 +67,10 @@ minecraft {
7167 replace ' ${version}' , fullVersion
7268 makeObfSourceJar = false
7369 ext. args = [
74- " -Dfml.noGrab=false" ,
75- " -Dfml.coreMods.load=org.dimdev.vanillafix.VanillaFixCoreMod" ,
76- " -Dmixin.env.compatLevel=JAVA_8" ,
77- " -Dmixin.debug=true" ,
78- " -Dmixin.debug.verbose=true" ,
79- " -Dmixin.debug.export=true" ,
80- " -Dmixin.checks.interfaces=true"
70+ " -Dfml.noGrab=false"
8171 ]
8272}
8373
84- sourceSets {
85- main {
86- ext. refMap = " mixins.vanillafix.refmap.json"
87- }
88- }
89-
9074// Tasks
9175compileJava {
9276 // options.compilerArgs += "-proc:only" // To debug AnnotatedNBT code generation
9781 from(configurations. embed. collect { it. isDirectory() ? it : zipTree(it) }) {
9882 exclude " LICENSE.txt" , " META-INF/MANIFSET.MF" , " META-INF/maven/**" , " META-INF/*.RSA" , " META-INF/*.SF"
9983 }
100- manifest. attributes(
101- " TweakClass" : " org.spongepowered.asm.launch.MixinTweaker" ,
102- " MixinConfigs" : " mixins.vanillafix.json" ,
103- " FMLCorePlugin" : " org.dimdev.vanillafix.VanillaFixCoreMod" ,
104- " ForceLoadAsMod" : " true"
105- )
10684}
10785
10886task sourcesJar (type : Jar , dependsOn : classes) {
0 commit comments