aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSHsuperCM <shsupercm@gmail.com>2023-06-22 09:14:02 +0300
committerSHsuperCM <shsupercm@gmail.com>2023-06-22 09:14:02 +0300
commitad5ffa41a5e34c9baf897e9178e6d9b4bd6d3ed8 (patch)
treee2214aca70b1a1de7aaddf65b630d894b8172874
parent4c04ceb7ee4e9b532f3677c1424433e0e3955a08 (diff)
downloadCITResewn-main.tar.gz
CITResewn-main.tar.bz2
CITResewn-main.zip
Moved launching setup to defaultsHEADmain
-rw-r--r--build.gradle9
-rw-r--r--defaults/build.gradle10
2 files changed, 9 insertions, 10 deletions
diff --git a/build.gradle b/build.gradle
index d450656..c9cb26f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -54,15 +54,6 @@ jar {
}
if (stonecutter.current().isActiveVersion()) {
- dependencies {
- modRuntimeOnly "net.fabricmc:fabric-loader:${property('deps.fabric-loader')}"
- modRuntimeOnly "net.fabricmc.fabric-api:fabric-api:${property('deps.fabric-api')}"
- modRuntimeOnly "com.terraformersmc:modmenu:${property('deps.modmenu')}"
- modRuntimeOnly "me.shedaniel.cloth:cloth-config-fabric:${property('deps.cloth-config')}"
- runtimeOnly project(path: ":defaults:${stonecutter.current().version()}", configuration: "namedElements")
- }
- loom.runConfigs.client.ideConfigGenerated = true
-
rootProject.tasks.register('buildActive') {
setGroup 'project'
diff --git a/defaults/build.gradle b/defaults/build.gradle
index c29ecff..7e44c27 100644
--- a/defaults/build.gradle
+++ b/defaults/build.gradle
@@ -19,7 +19,13 @@ dependencies {
modCompileOnly "com.terraformersmc:modmenu:${property('deps.modmenu')}"
modCompileOnly "me.shedaniel.cloth:cloth-config-fabric:${property('deps.cloth-config')}"
- compileOnly project(path: ":${stonecutter.current().version()}", configuration: "namedElements")
+ implementation project(path: ":${stonecutter.current().version()}", configuration: "namedElements")
+
+ // testing mods
+ modRuntimeOnly "net.fabricmc:fabric-loader:${property('deps.fabric-loader')}"
+ modRuntimeOnly "net.fabricmc.fabric-api:fabric-api:${property('deps.fabric-api')}"
+ modRuntimeOnly "com.terraformersmc:modmenu:${property('deps.modmenu')}"
+ modRuntimeOnly "me.shedaniel.cloth:cloth-config-fabric:${property('deps.cloth-config')}"
}
fletchingTable {
@@ -54,6 +60,8 @@ jar {
}
if (stonecutter.current().isActiveVersion()) {
+ loom.runConfigs.client.ideConfigGenerated = true
+
plugins.apply 'com.modrinth.minotaur'
modrinth {