diff options
-rw-r--r-- | build.gradle | 9 | ||||
-rw-r--r-- | defaults/build.gradle | 10 |
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 { |