diff --git a/build.gradle b/build.gradle index 4a44c7d..50f3409 100644 --- a/build.gradle +++ b/build.gradle @@ -13,6 +13,7 @@ plugins { id "com.matthewprenger.cursegradle" version "1.4.0" // This repository is archived on GH id "com.modrinth.minotaur" version "2.8.7" id "fabric-loom" version "1.6-SNAPSHOT" apply false + id "legacy-looming" version "1.6-SNAPSHOT" apply false // Version = fabric-loom id "com.github.ben-manes.versions" version "0.51.0" id "xyz.wagyourtail.jvmdowngrader" version "0.7.1" } @@ -40,6 +41,7 @@ def getBranch() { allprojects { apply plugin: "maven-publish" apply plugin: "fabric-loom" + apply plugin: "legacy-looming" java { toolchain { @@ -143,6 +145,7 @@ dependencies { includeJ8("com.viaversion:viaversion:${rootProject.viaver_version}") include("org.yaml:snakeyaml:${rootProject.yaml_version}") + implementation("it.unimi.dsi:fastutil:8.5.13") } remapJar { diff --git a/settings.gradle.kts b/settings.gradle.kts index 7e68a42..e06d961 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -3,6 +3,7 @@ pluginManagement { gradlePluginPortal() mavenCentral() maven ("https://maven.fabricmc.net/") + maven ("https://repo.legacyfabric.net/repository/legacyfabric/") } } diff --git a/viafabric-mc1122/build.gradle.kts b/viafabric-mc1122/build.gradle.kts index cff9b95..68956bf 100644 --- a/viafabric-mc1122/build.gradle.kts +++ b/viafabric-mc1122/build.gradle.kts @@ -8,7 +8,3 @@ dependencies { @Suppress("GradlePackageUpdate", "RedundantSuppression") implementation("io.netty:netty-all:4.0.56.Final") } - -loom { - intermediaryUrl.set("https://maven.legacyfabric.net/net/legacyfabric/intermediary/%1\$s/intermediary-%1\$s-v2.jar") -} diff --git a/viafabric-mc189/build.gradle.kts b/viafabric-mc189/build.gradle.kts index e7893e6..05d1834 100644 --- a/viafabric-mc189/build.gradle.kts +++ b/viafabric-mc189/build.gradle.kts @@ -11,7 +11,3 @@ dependencies { @Suppress("GradlePackageUpdate", "RedundantSuppression") implementation("io.netty:netty-all:4.0.56.Final") } - -loom { - intermediaryUrl.set("https://maven.legacyfabric.net/net/legacyfabric/intermediary/%1\$s/intermediary-%1\$s-v2.jar") -}