Skip to content

Commit

Permalink
use legacy looming, include fastutil in jar
Browse files Browse the repository at this point in the history
  • Loading branch information
creeper123123321 committed Jul 7, 2024
1 parent 4a6905d commit a5d5adb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down Expand Up @@ -40,6 +41,7 @@ def getBranch() {
allprojects {
apply plugin: "maven-publish"
apply plugin: "fabric-loom"
apply plugin: "legacy-looming"

java {
toolchain {
Expand Down Expand Up @@ -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 {
Expand Down
1 change: 1 addition & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pluginManagement {
gradlePluginPortal()
mavenCentral()
maven ("https://maven.fabricmc.net/")
maven ("https://repo.legacyfabric.net/repository/legacyfabric/")
}
}

Expand Down
4 changes: 0 additions & 4 deletions viafabric-mc1122/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
4 changes: 0 additions & 4 deletions viafabric-mc189/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

0 comments on commit a5d5adb

Please sign in to comment.