|
@@ -112,7 +112,7 @@ repositories{
|
|
|
|
|
|
dependencies {
|
|
|
minecraft "net.minecraftforge:forge:${mc_version}-${forge_version}"
|
|
|
- runtimeOnly fg.deobf("mezz.jei:jei-1.16.3:7.6.0.49")
|
|
|
+ annotationProcessor 'org.spongepowered:mixin:0.8.2:processor'
|
|
|
}
|
|
|
|
|
|
// Example for how to get properties into the manifest for reading by the runtime..
|
|
@@ -152,3 +152,13 @@ build.dependsOn signJar
|
|
|
mixin {
|
|
|
add sourceSets.main, "${modid}.refmap.json"
|
|
|
}
|
|
|
+
|
|
|
+// Prevent Mixin annotation processor from getting into IDEA's annotation processor settings
|
|
|
+// Copied from Botania
|
|
|
+if (System.getProperty("idea.sync.active") == "true") {
|
|
|
+ afterEvaluate {
|
|
|
+ tasks.withType(JavaCompile).all {
|
|
|
+ it.options.annotationProcessorPath = files()
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|