diff options
author | Juuz <6596629+Juuxel@users.noreply.github.com> | 2023-05-15 18:09:03 +0300 |
---|---|---|
committer | Juuz <6596629+Juuxel@users.noreply.github.com> | 2023-05-15 18:09:03 +0300 |
commit | 6aabe63aa42cbafdbcf5cdd91ee16c2e5658d1ed (patch) | |
tree | c885b21a524c9a2103398977bff6dfc27ee16439 | |
parent | 734d78c55aee60a6dce5e91cb9b0910859c2b283 (diff) | |
download | LibGui-6aabe63aa42cbafdbcf5cdd91ee16c2e5658d1ed.tar.gz LibGui-6aabe63aa42cbafdbcf5cdd91ee16c2e5658d1ed.tar.bz2 LibGui-6aabe63aa42cbafdbcf5cdd91ee16c2e5658d1ed.zip |
Add workaround for FabricMC/fabric-loom#890
-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" |