aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuuz <6596629+Juuxel@users.noreply.github.com>2022-08-16 15:55:59 +0300
committerJuuz <6596629+Juuxel@users.noreply.github.com>2022-08-16 15:55:59 +0300
commitca5035e3a1a03e81714639b5f9b172f2ab8597d5 (patch)
tree057cb59faf9d60e5a78e21b3aafd122aaafc5e40
parent85e6c34727aa57d59bcea923e24ccb04c35024c5 (diff)
downloadLibGui-ca5035e3a1a03e81714639b5f9b172f2ab8597d5.tar.gz
LibGui-ca5035e3a1a03e81714639b5f9b172f2ab8597d5.tar.bz2
LibGui-ca5035e3a1a03e81714639b5f9b172f2ab8597d5.zip
Only apply runtime ModMenu to the test subproject
-rw-r--r--GuiTest/build.gradle14
-rw-r--r--build.gradle4
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')
}