### Enable Eclipse APT plugin Source: https://github.com/spongepowered/mixingradle/blob/master/README.md Enables the Eclipse APT plugin for annotation processor support within Eclipse. ```groovy apply plugin: 'com.diffplug.eclipse.apt' ``` -------------------------------- ### Build MixinGradle Source: https://github.com/spongepowered/mixingradle/blob/master/README.md Builds MixinGradle using Gradle. ```bash gradlew build ``` -------------------------------- ### Apply the plugin Source: https://github.com/spongepowered/mixingradle/blob/master/README.md Applies the MixinGradle plugin to the build. ```groovy apply plugin: 'org.spongepowered.mixin' ``` -------------------------------- ### Configure refMap property Source: https://github.com/spongepowered/mixingradle/blob/master/README.md Alternatively, specifies the refMap property directly on the sourceSet. ```groovy sourceSets { main { ext.refMap = "main.refmap.json" } another { ext.refMap = "another.refmap.json" } } ``` -------------------------------- ### Set default obfuscation environment Source: https://github.com/spongepowered/mixingradle/blob/master/README.md Sets the default obfuscation environment for generated refmaps. ```groovy mixin { // Specify "notch" or "searge" here defaultObfuscationEnv notch } ``` -------------------------------- ### Publish to Maven Local Source: https://github.com/spongepowered/mixingradle/blob/master/README.md Adds the compiled MixinGradle jar to the local Maven repository. ```bash gradlew publishToMavenLocal ``` -------------------------------- ### Configure mixin block Source: https://github.com/spongepowered/mixingradle/blob/master/README.md Configures the mixin block to specify sourceSets and refmap resource names. ```groovy mixin { add sourceSets.main, "main.refmap.json" add sourceSets.another, "another.refmap.json" } ``` -------------------------------- ### Configure mixin AP options Source: https://github.com/spongepowered/mixingradle/blob/master/README.md Configures other mixin AP options like disableTargetExport and disableTargetValidator. ```groovy mixin { disableTargetExport = true disableTargetValidator = true } ``` ```groovy mixin { disableTargetExport disableTargetValidator } ``` -------------------------------- ### Add MixinGradle dependency Source: https://github.com/spongepowered/mixingradle/blob/master/README.md Adds the MixinGradle dependency to the buildscript. ```groovy buildscript { repositories { } dependencies { ... classpath 'org.spongepowered:mixingradle:0.7-SNAPSHOT' } } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.