aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fabric/build.gradle.kts10
-rw-r--r--forge/build.gradle.kts14
2 files changed, 18 insertions, 6 deletions
diff --git a/fabric/build.gradle.kts b/fabric/build.gradle.kts
index 690fe30..52dfda3 100644
--- a/fabric/build.gradle.kts
+++ b/fabric/build.gradle.kts
@@ -40,8 +40,14 @@ dependencies {
).forEach { modApi(fabricApi.module(it, libs.versions.fabric.api.get())) }
modApi(libs.mod.menu)
- implementation(libs.twelvemonkeys.imageio.core)
- implementation(libs.twelvemonkeys.imageio.webp)
+ libs.twelvemonkeys.imageio.core.let {
+ implementation(it)
+ include(it)
+ }
+ libs.twelvemonkeys.imageio.webp.let {
+ implementation(it)
+ include(it)
+ }
"common"(project(path = ":common", configuration = "namedElements")) { isTransitive = false }
"shadowCommon"(project(path = ":common", configuration = "transformProductionFabric")) { isTransitive = false }
diff --git a/forge/build.gradle.kts b/forge/build.gradle.kts
index 57aba4b..c926445 100644
--- a/forge/build.gradle.kts
+++ b/forge/build.gradle.kts
@@ -45,10 +45,16 @@ dependencies {
})
forge(libs.forge)
- implementation(libs.twelvemonkeys.imageio.core)
- forgeRuntimeLibrary(libs.twelvemonkeys.imageio.core)
- implementation(libs.twelvemonkeys.imageio.webp)
- forgeRuntimeLibrary(libs.twelvemonkeys.imageio.webp)
+ libs.twelvemonkeys.imageio.core.let {
+ implementation(it)
+ forgeRuntimeLibrary(it)
+ include(it)
+ }
+ libs.twelvemonkeys.imageio.webp.let {
+ implementation(it)
+ forgeRuntimeLibrary(it)
+ include(it)
+ }
"common"(project(path = ":common", configuration = "namedElements")) { isTransitive = false }
"shadowCommon"(project(path = ":common", configuration = "transformProductionForge")) { isTransitive = false }