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 { subprojects {
repositories { repositories {
mavenCentral() mavenCentral()
mavenLocal()
maven { maven {
url = uri("https://repo.md-5.net/content/groups/public/") url = uri("https://repo.md-5.net/content/groups/public/")

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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