aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuuz <6596629+Juuxel@users.noreply.github.com>2023-05-15 18:09:03 +0300
committerJuuz <6596629+Juuxel@users.noreply.github.com>2023-05-15 18:09:03 +0300
commit6aabe63aa42cbafdbcf5cdd91ee16c2e5658d1ed (patch)
treec885b21a524c9a2103398977bff6dfc27ee16439
parent734d78c55aee60a6dce5e91cb9b0910859c2b283 (diff)
downloadLibGui-6aabe63aa42cbafdbcf5cdd91ee16c2e5658d1ed.tar.gz
LibGui-6aabe63aa42cbafdbcf5cdd91ee16c2e5658d1ed.tar.bz2
LibGui-6aabe63aa42cbafdbcf5cdd91ee16c2e5658d1ed.zip
Add workaround for FabricMC/fabric-loom#890
-rw-r--r--build.gradle9
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"