Change resolution of dependencies for nms

This commit is contained in:
libraryaddict 2024-11-12 14:17:14 +13:00
parent cc086da1cc
commit 108d31ee54
14 changed files with 7 additions and 40 deletions

View File

@ -5,7 +5,6 @@ plugins {
subprojects {
repositories {
mavenCentral()
mavenLocal()
maven {
url = uri("https://repo.md-5.net/content/groups/public/")

View File

@ -11,9 +11,13 @@ ext {
remapServerCode = true
}
dependencies {
implementation project(':shared')
afterEvaluate {
afterEvaluate {
dependencies {
implementation project(':shared')
compileOnly libs.io.netty.netty.buffer
compileOnly libs.it.unimi.dsi.fastutil
compileOnly libs.com.mojang.datafixerupper
if (remapServerCode) {
implementation "org.spigotmc:spigot:${craftbukkitVersion}:remapped-mojang"
} else {

View File

@ -10,7 +10,4 @@ description = "v1_17_R1"
dependencies {
compileOnly(libs.com.mojang.authlib.old)
compileOnly(libs.io.netty.netty.buffer)
compileOnly(libs.it.unimi.dsi.fastutil)
compileOnly(libs.com.mojang.datafixerupper)
}

View File

@ -10,9 +10,6 @@ description = "v1_18_R1"
dependencies {
compileOnly(libs.com.mojang.authlib.old)
compileOnly(libs.io.netty.netty.buffer)
compileOnly(libs.it.unimi.dsi.fastutil)
compileOnly(libs.com.mojang.datafixerupper)
}
java {

View File

@ -10,9 +10,6 @@ description = "v1_18_R2"
dependencies {
compileOnly(libs.com.mojang.authlib.old)
compileOnly(libs.io.netty.netty.buffer)
compileOnly(libs.it.unimi.dsi.fastutil)
compileOnly(libs.com.mojang.datafixerupper)
}
java {

View File

@ -10,9 +10,6 @@ description = "v1_19_R1"
dependencies {
compileOnly(libs.com.mojang.authlib.old)
compileOnly(libs.io.netty.netty.buffer)
compileOnly(libs.it.unimi.dsi.fastutil)
compileOnly(libs.com.mojang.datafixerupper)
}
java {

View File

@ -10,9 +10,6 @@ description = "v1_19_R2"
dependencies {
compileOnly(libs.com.mojang.authlib.old)
compileOnly(libs.io.netty.netty.buffer)
compileOnly(libs.it.unimi.dsi.fastutil)
compileOnly(libs.com.mojang.datafixerupper)
}
java {

View File

@ -10,9 +10,6 @@ description = "v1_19_R3"
dependencies {
compileOnly(libs.com.mojang.authlib.old)
compileOnly(libs.io.netty.netty.buffer)
compileOnly(libs.it.unimi.dsi.fastutil)
compileOnly(libs.com.mojang.datafixerupper)
}
java {

View File

@ -10,9 +10,6 @@ description = "v1_20_R1"
dependencies {
compileOnly(libs.com.mojang.authlib.old)
compileOnly(libs.io.netty.netty.buffer)
compileOnly(libs.it.unimi.dsi.fastutil)
compileOnly(libs.com.mojang.datafixerupper)
}
java {

View File

@ -10,9 +10,6 @@ description = "v1_20_R2"
dependencies {
compileOnly(libs.com.mojang.authlib.new)
compileOnly(libs.io.netty.netty.buffer)
compileOnly(libs.it.unimi.dsi.fastutil)
compileOnly(libs.com.mojang.datafixerupper)
}
java {

View File

@ -10,9 +10,6 @@ description = "v1_20_R3"
dependencies {
compileOnly(libs.com.mojang.authlib.new)
compileOnly(libs.io.netty.netty.buffer)
compileOnly(libs.it.unimi.dsi.fastutil)
compileOnly(libs.com.mojang.datafixerupper)
}
java {

View File

@ -10,9 +10,6 @@ description = "v1_20_R4"
dependencies {
compileOnly(libs.com.mojang.authlib.new)
compileOnly(libs.io.netty.netty.buffer)
compileOnly(libs.it.unimi.dsi.fastutil)
compileOnly(libs.com.mojang.datafixerupper)
}
java {

View File

@ -10,9 +10,6 @@ description = "v1_21_R1"
dependencies {
compileOnly(libs.com.mojang.authlib.new)
compileOnly(libs.io.netty.netty.buffer)
compileOnly(libs.it.unimi.dsi.fastutil)
compileOnly(libs.com.mojang.datafixerupper)
}
java {

View File

@ -10,9 +10,6 @@ description = "v1_21_R2"
dependencies {
compileOnly(libs.com.mojang.authlib.new)
compileOnly(libs.io.netty.netty.buffer)
compileOnly(libs.it.unimi.dsi.fastutil)
compileOnly(libs.com.mojang.datafixerupper)
}
java {