From c277dbf15ca236e38bef8ca2f839ba69d7957804 Mon Sep 17 00:00:00 2001 From: Rongmario Date: Tue, 1 Mar 2022 11:51:21 +0000 Subject: [PATCH] Added new parameter in gradle.properties = "mixin_into_mods" - `true` means MixinBooter will be depended on --- build.gradle | 4 ++++ gradle.properties | 1 + 2 files changed, 5 insertions(+) diff --git a/build.gradle b/build.gradle index 196d419..9407453 100644 --- a/build.gradle +++ b/build.gradle @@ -79,6 +79,10 @@ dependencies { } annotationProcessor 'org.spongepowered:mixin:0.8.3:processor' } + if (project.mixin_into_mods) { + deobfCompile 'zone.rong:mixinbooter:4.1' + } + } sourceSets { diff --git a/gradle.properties b/gradle.properties index 69dbec5..1d7550a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -13,6 +13,7 @@ use_coremod = false use_assetmover = false pack_mixins_in_jar = false +mixin_into_mods = false # Coremod Arguments coremod_plugin_class_name = \ No newline at end of file