aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisXander <xandersmith2008@gmail.com>2023-06-07 20:31:54 +0100
committerisXander <xandersmith2008@gmail.com>2023-06-07 20:52:52 +0100
commite8e16fd97147dd1693189b8b3fef9a6883dec683 (patch)
treee2c612357bcfd65058359bb02520ad4c9f6d1812
parenta05ce5306ac326c5e492ecf962a4b83cd7149f9a (diff)
downloadYetAnotherConfigLib-e8e16fd97147dd1693189b8b3fef9a6883dec683.tar.gz
YetAnotherConfigLib-e8e16fd97147dd1693189b8b3fef9a6883dec683.tar.bz2
YetAnotherConfigLib-e8e16fd97147dd1693189b8b3fef9a6883dec683.zip
Fix webp lib not being JIJed
-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 }