From 65bac2ccc3d38f51312ac25d75e8e1dbd4880913 Mon Sep 17 00:00:00 2001 From: 3TUSK Date: Wed, 6 Sep 2023 23:03:02 -0700 Subject: [PATCH] Re-enable test mod --- gradle/teacon-forge.gradle | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gradle/teacon-forge.gradle b/gradle/teacon-forge.gradle index 571bced..7799b62 100644 --- a/gradle/teacon-forge.gradle +++ b/gradle/teacon-forge.gradle @@ -86,8 +86,15 @@ gradle.afterProject { Project current -> property 'forge.enabledGameTestNamespaces', modId mods { // noinspection GroovyAssignabilityCheck - create(modId) { it.source sourceSets.main } + create(modId) { + it.source sourceSets.main + } + create(modId + "_test") { + it.source sourceSets.test + } + } + // noinspection GroovyAssignabilityCheck runtimeLazyTokens.each { k, v -> lazyToken(k, v) } }