diff options
-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') } |