Skip to content

Commit 8a097d5

Browse files
authored
Fix Mixin refmaps not getting generated (#37)
1 parent f5ccd0c commit 8a097d5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,10 +401,13 @@ configurations {
401401
dependencies {
402402
if (usesMixins.toBoolean() || forceEnableMixins.toBoolean()) {
403403
implementation 'zone.rong:mixinbooter:7.0'
404-
api('org.spongepowered:mixin:0.8.3') {
404+
String mixin = modUtils.enableMixins('org.spongepowered:mixin:0.8.3', "mixins.${modId}.refmap.json")
405+
406+
api (mixin) {
405407
transitive = false
406408
}
407-
annotationProcessor('org.spongepowered:mixin:0.8.3') {
409+
410+
annotationProcessor(mixin) {
408411
transitive = false
409412
}
410413

0 commit comments

Comments
 (0)