mirror of
https://github.com/ViaVersion/ViaFabric.git
synced 2024-11-25 12:15:14 +01:00
use legacy looming, include fastutil in jar
This commit is contained in:
parent
4a6905dc44
commit
a5d5adb18f
@ -13,6 +13,7 @@ plugins {
|
|||||||
id "com.matthewprenger.cursegradle" version "1.4.0" // This repository is archived on GH
|
id "com.matthewprenger.cursegradle" version "1.4.0" // This repository is archived on GH
|
||||||
id "com.modrinth.minotaur" version "2.8.7"
|
id "com.modrinth.minotaur" version "2.8.7"
|
||||||
id "fabric-loom" version "1.6-SNAPSHOT" apply false
|
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 "com.github.ben-manes.versions" version "0.51.0"
|
||||||
id "xyz.wagyourtail.jvmdowngrader" version "0.7.1"
|
id "xyz.wagyourtail.jvmdowngrader" version "0.7.1"
|
||||||
}
|
}
|
||||||
@ -40,6 +41,7 @@ def getBranch() {
|
|||||||
allprojects {
|
allprojects {
|
||||||
apply plugin: "maven-publish"
|
apply plugin: "maven-publish"
|
||||||
apply plugin: "fabric-loom"
|
apply plugin: "fabric-loom"
|
||||||
|
apply plugin: "legacy-looming"
|
||||||
|
|
||||||
java {
|
java {
|
||||||
toolchain {
|
toolchain {
|
||||||
@ -143,6 +145,7 @@ dependencies {
|
|||||||
|
|
||||||
includeJ8("com.viaversion:viaversion:${rootProject.viaver_version}")
|
includeJ8("com.viaversion:viaversion:${rootProject.viaver_version}")
|
||||||
include("org.yaml:snakeyaml:${rootProject.yaml_version}")
|
include("org.yaml:snakeyaml:${rootProject.yaml_version}")
|
||||||
|
implementation("it.unimi.dsi:fastutil:8.5.13")
|
||||||
}
|
}
|
||||||
|
|
||||||
remapJar {
|
remapJar {
|
||||||
|
@ -3,6 +3,7 @@ pluginManagement {
|
|||||||
gradlePluginPortal()
|
gradlePluginPortal()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
maven ("https://maven.fabricmc.net/")
|
maven ("https://maven.fabricmc.net/")
|
||||||
|
maven ("https://repo.legacyfabric.net/repository/legacyfabric/")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -8,7 +8,3 @@ dependencies {
|
|||||||
@Suppress("GradlePackageUpdate", "RedundantSuppression")
|
@Suppress("GradlePackageUpdate", "RedundantSuppression")
|
||||||
implementation("io.netty:netty-all:4.0.56.Final")
|
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")
|
|
||||||
}
|
|
||||||
|
@ -11,7 +11,3 @@ dependencies {
|
|||||||
@Suppress("GradlePackageUpdate", "RedundantSuppression")
|
@Suppress("GradlePackageUpdate", "RedundantSuppression")
|
||||||
implementation("io.netty:netty-all:4.0.56.Final")
|
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")
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user