diff options
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index e6d9f0e..56ada8b 100644 --- a/build.gradle +++ b/build.gradle @@ -41,6 +41,15 @@ loom { } } +// Work around https://github.com/FabricMC/fabric-loom/issues/890. +afterEvaluate { + for (def config : [configurations.apiElements, configurations.runtimeElements]) { + def parents = new HashSet<>(config.extendsFrom) + parents.removeIf { it.name.startsWith 'modTestMod' } + config.extendsFrom = parents + } +} + repositories { maven { url "https://server.bbkr.space/artifactory/libs-release" |