Switch to TR mixin remapping, make our custom AP incremental

This commit is contained in:
embeddedt 2024-06-05 19:43:09 -04:00
parent 03e758a037
commit c7befd1913
No known key found for this signature in database
GPG Key ID: A69433EC199B5613
4 changed files with 5 additions and 1 deletions

View File

@ -44,6 +44,7 @@ shadowJar {
// shadowJar bug // shadowJar bug
include '*.jar' include '*.jar'
include 'META-INF/services/javax.annotation.processing.Processor' include 'META-INF/services/javax.annotation.processing.Processor'
include 'META-INF/gradle/incremental.annotation.processors'
include 'org/spongepowered/asm/mixin/Mixin.class' include 'org/spongepowered/asm/mixin/Mixin.class'
include 'org/fury_phoenix/**/*' include 'org/fury_phoenix/**/*'
include {it.getName() == 'OnlyIn.class'} include {it.getName() == 'OnlyIn.class'}

View File

@ -0,0 +1 @@
org.fury_phoenix.mixinAp.annotation.MixinProcessor,aggregating

View File

@ -6,6 +6,9 @@ plugins {
loom { loom {
silentMojangMappingsLicense() silentMojangMappingsLicense()
accessWidenerPath = file("${rootDir}/common/src/main/resources/modernfix.accesswidener") accessWidenerPath = file("${rootDir}/common/src/main/resources/modernfix.accesswidener")
mixin {
useLegacyMixinAp = false
}
} }
dependencies { dependencies {

View File

@ -17,7 +17,6 @@ loom {
mixinConfig "modernfix-common.mixins.json" mixinConfig "modernfix-common.mixins.json"
mixinConfig "modernfix-forge.mixins.json" mixinConfig "modernfix-forge.mixins.json"
} }
mixin.defaultRefmapName = "modernfix.refmap.json"
} }
configurations { configurations {