From 571d72e56424fbd88caefad151ab0e01b8c1199e Mon Sep 17 00:00:00 2001 From: glowredman <35727266+glowredman@users.noreply.github.com> Date: Sat, 10 Dec 2022 18:32:06 +0100 Subject: [PATCH] Add FernFlower for Mixin Debugging (#94) * Add FernFlower for mixin debugging * Fix mistake * Add condition Co-authored-by: Jason Mitchell --- build.gradle | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/build.gradle b/build.gradle index 2ad389e..4f728b1 100644 --- a/build.gradle +++ b/build.gradle @@ -330,6 +330,12 @@ repositories { name = "GTNH Maven" url = "http://jenkins.usrv.eu:8081/nexus/content/groups/public/" } + if (usesMixinDebug.toBoolean()) { + maven { + name = "Fabric Maven" + url = "https://maven.fabricmc.net/" + } + } } } @@ -339,6 +345,9 @@ dependencies { annotationProcessor('com.google.guava:guava:24.1.1-jre') annotationProcessor('com.google.code.gson:gson:2.8.6') annotationProcessor('com.gtnewhorizon:gtnhmixins:2.1.3:processor') + if (usesMixinDebug.toBoolean()) { + runtimeOnly('org.jetbrains:intellij-fernflower:1.2.1.16') + } } if (usesMixins.toBoolean() || forceEnableMixins.toBoolean()) { compile('com.gtnewhorizon:gtnhmixins:2.1.3')