diff --git a/build.gradle b/build.gradle index 702ab1a7f..76114876b 100644 --- a/build.gradle +++ b/build.gradle @@ -116,6 +116,13 @@ repositories { includeGroup "dev.emi" } } + + maven { + url 'https://jitpack.io' + content { + includeGroup "com.github.rtyley" + } + } } dependencies { @@ -126,23 +133,19 @@ dependencies { compileOnly("me.shedaniel:RoughlyEnoughItems-neoforge:$rei_version") compileOnly("dev.emi:emi-neoforge:$emi_version:api") - jarJar(implementation 'dev.latvian.apps:tiny-java-server') { + additionalRuntimeClasspath(jarJar(implementation('dev.latvian.apps:tiny-java-server'))) { version { - strictly '[1.0,)' + strictly "[$tiny_server_version,)" prefer "$tiny_server_version" } } - additionalRuntimeClasspath("dev.latvian.apps:tiny-java-server:$tiny_server_version") - - jarJar(implementation 'com.madgag:animated-gif-lib') { + additionalRuntimeClasspath(jarJar(implementation("com.github.rtyley:animated-gif-lib-for-java"))) { version { - strictly '[1.4,)' - prefer '1.4' + strictly "[animated-gif-lib-$gif_lib_version,)" + prefer "animated-gif-lib-$gif_lib_version" } } - - additionalRuntimeClasspath("com.madgag:animated-gif-lib:1.4") } processResources { diff --git a/gradle.properties b/gradle.properties index cfcd340f5..c74a22630 100644 --- a/gradle.properties +++ b/gradle.properties @@ -17,6 +17,7 @@ parchment_mc_version=1.21 parchment_mapping_version=2024.07.28 rhino_version=2100.2.5-build.48 tiny_server_version=1.0.0-build.6 +gif_lib_version=1.7 architectury_version=13.0.6 rei_version=16.0.744