diff options
author | Juuz <6596629+Juuxel@users.noreply.github.com> | 2022-08-16 15:55:59 +0300 |
---|---|---|
committer | Juuz <6596629+Juuxel@users.noreply.github.com> | 2022-08-16 15:55:59 +0300 |
commit | ca5035e3a1a03e81714639b5f9b172f2ab8597d5 (patch) | |
tree | 057cb59faf9d60e5a78e21b3aafd122aaafc5e40 | |
parent | 85e6c34727aa57d59bcea923e24ccb04c35024c5 (diff) | |
download | LibGui-ca5035e3a1a03e81714639b5f9b172f2ab8597d5.tar.gz LibGui-ca5035e3a1a03e81714639b5f9b172f2ab8597d5.tar.bz2 LibGui-ca5035e3a1a03e81714639b5f9b172f2ab8597d5.zip |
Only apply runtime ModMenu to the test subproject
-rw-r--r-- | GuiTest/build.gradle | 14 | ||||
-rw-r--r-- | build.gradle | 4 |
2 files changed, 11 insertions, 7 deletions
diff --git a/GuiTest/build.gradle b/GuiTest/build.gradle index 17d3faa..48a5d57 100644 --- a/GuiTest/build.gradle +++ b/GuiTest/build.gradle @@ -16,13 +16,14 @@ loom { } } -//configurations.modApi { -// resolutionStrategy.cacheChangingModulesFor 0, 'seconds' -//} - repositories { - mavenLocal(); maven { url "https://server.bbkr.space/artifactory/libs-release" } + maven { + url = "https://maven.terraformersmc.com/releases" + content { + includeGroup "com.terraformersmc" + } + } } dependencies { @@ -36,6 +37,9 @@ dependencies { implementation project(path: ':', configuration: 'namedElements') // TODO: Fix this in Loom (namedElements should expose remapped mod* dependencies) modImplementation "io.github.cottonmc:Jankson-Fabric:${rootProject.jankson_version}" + modLocalRuntime("com.terraformersmc:modmenu:$rootProject.modmenu_version") { + exclude group: 'net.fabricmc.fabric-api' + } } processResources { diff --git a/build.gradle b/build.gradle index 0c38833..3ac43db 100644 --- a/build.gradle +++ b/build.gradle @@ -55,9 +55,9 @@ dependencies { // Using modApi instead of api because of https://github.com/FabricMC/fabric-loom/issues/200 include modApi("io.github.juuxel:libninepatch:${project.libninepatch_version}") - modLocalRuntime(modCompileOnly("com.terraformersmc:modmenu:$project.modmenu_version") { + modCompileOnly("com.terraformersmc:modmenu:$project.modmenu_version") { exclude group: 'net.fabricmc.fabric-api' - }) + } javadocClasspath project(':javadoc') } |