diff --git a/build.gradle.kts b/build.gradle.kts index 44ad0a8..3e75c52 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -74,6 +74,11 @@ subprojects { javaClass.getDeclaredMethod("getDefaultRefmapName").invoke(this).let { refmapProperty -> refmapProperty.javaClass.getDeclaredMethod("set", Any::class.java).invoke(refmapProperty, refmap) } + if (isForge) { + this@with.getDeclaredMethod("getForge").invoke(this@configure).let { forgeObject -> + forgeObject.javaClass.getMethod("mixinConfigs", Array::class.java).invoke(forgeObject, (javaClass.getMethod("getMixinSourceSets").invoke(this) as Collection).map { it.name.apply { println(this) } }.toTypedArray()) + } + } } } }