From 55e7547d491ad80311c3277f5155933b30b4937a Mon Sep 17 00:00:00 2001 From: glitch Date: Mon, 25 Sep 2023 15:47:51 -0500 Subject: [PATCH] Add loom mods block --- build.gradle | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/build.gradle b/build.gradle index fed22ed..f25b7c3 100644 --- a/build.gradle +++ b/build.gradle @@ -18,6 +18,19 @@ repositories { // for more information about repositories. } +loom { + // Loom and Loader use this block to gather more information about your mod. + mods { + // This should match your mod's mod id. + "example_mod" { + // Tell Loom about each source set used by your mod here. This ensures that your mod's classes are properly transformed by Loader. + sourceSet("main") + // If you shade (directly include classes, not JiJ) a dependency into your mod, include it here using one of these methods: + //dependency("com.example.shadowedmod:1.2.3") + //configuration("exampleShadedConfigurationName") + } + } +} // All the dependencies are declared at gradle/libs.version.toml and referenced with "libs." // See https://docs.gradle.org/current/userguide/platforms.html for information on how version catalogs work. dependencies {