mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-12-03 13:44:16 +01:00
Add authlib old/new
This commit is contained in:
parent
0c369a4cc3
commit
b961cd7d8d
@ -2,7 +2,8 @@
|
||||
# https://docs.gradle.org/current/userguide/platforms.html#sub::toml-dependencies-format
|
||||
|
||||
[versions]
|
||||
com-mojang-authlib = "6.0.54"
|
||||
com-mojang-authlib-old = "3.5.41"
|
||||
com-mojang-authlib-new = "6.0.54"
|
||||
commons-lang-commons-lang = "2.6"
|
||||
io-netty-netty-buffer = "4.1.90.Final"
|
||||
io-netty-netty-codec = "4.1.90.Final"
|
||||
@ -21,7 +22,8 @@ junit-jupiter-version = "5.9.3"
|
||||
mockito-version = "5.12.0"
|
||||
|
||||
[libraries]
|
||||
com-mojang-authlib = { module = "com.mojang:authlib", version.ref = "com-mojang-authlib" }
|
||||
com-mojang-authlib-old = { module = "com.mojang:authlib", version.ref = "com-mojang-authlib-old" }
|
||||
com-mojang-authlib-new = { module = "com.mojang:authlib", version.ref = "com-mojang-authlib-new" }
|
||||
commons-lang-commons-lang = { module = "commons-lang:commons-lang", version.ref = "commons-lang-commons-lang" }
|
||||
io-netty-netty-buffer = { module = "io.netty:netty-buffer", version.ref = "io-netty-netty-buffer" }
|
||||
io-netty-netty-codec = { module = "io.netty:netty-codec", version.ref = "io-netty-netty-codec" }
|
||||
|
@ -7,3 +7,7 @@ apply(from = rootProject.file("nms/nmsModule.gradle"))
|
||||
extra["craftbukkitVersion"] = "1.17.1-R0.1-SNAPSHOT"
|
||||
|
||||
description = "v1_17_R1"
|
||||
|
||||
dependencies {
|
||||
compileOnly(libs.com.mojang.authlib.old)
|
||||
}
|
||||
|
@ -7,3 +7,7 @@ apply(from = rootProject.file("nms/nmsModule.gradle"))
|
||||
extra["craftbukkitVersion"] = "1.18.1-R0.1-SNAPSHOT"
|
||||
|
||||
description = "v1_18_R1"
|
||||
|
||||
dependencies {
|
||||
compileOnly(libs.com.mojang.authlib.old)
|
||||
}
|
||||
|
@ -7,3 +7,7 @@ apply(from = rootProject.file("nms/nmsModule.gradle"))
|
||||
extra["craftbukkitVersion"] = "1.18.2-R0.1-SNAPSHOT"
|
||||
|
||||
description = "v1_18_R2"
|
||||
|
||||
dependencies {
|
||||
compileOnly(libs.com.mojang.authlib.old)
|
||||
}
|
||||
|
@ -7,3 +7,7 @@ apply(from = rootProject.file("nms/nmsModule.gradle"))
|
||||
extra["craftbukkitVersion"] = "1.19.1-R0.1-SNAPSHOT"
|
||||
|
||||
description = "v1_19_R1"
|
||||
|
||||
dependencies {
|
||||
compileOnly(libs.com.mojang.authlib.old)
|
||||
}
|
||||
|
@ -7,3 +7,7 @@ apply(from = rootProject.file("nms/nmsModule.gradle"))
|
||||
extra["craftbukkitVersion"] = "1.19.3-R0.1-SNAPSHOT"
|
||||
|
||||
description = "v1_19_R2"
|
||||
|
||||
dependencies {
|
||||
compileOnly(libs.com.mojang.authlib.old)
|
||||
}
|
||||
|
@ -7,3 +7,7 @@ apply(from = rootProject.file("nms/nmsModule.gradle"))
|
||||
extra["craftbukkitVersion"] = "1.19.4-R0.1-SNAPSHOT"
|
||||
|
||||
description = "v1_19_R3"
|
||||
|
||||
dependencies {
|
||||
compileOnly(libs.com.mojang.authlib.old)
|
||||
}
|
||||
|
@ -7,3 +7,7 @@ apply(from = rootProject.file("nms/nmsModule.gradle"))
|
||||
extra["craftbukkitVersion"] = "1.20-R0.1-SNAPSHOT"
|
||||
|
||||
description = "v1_20_R1"
|
||||
|
||||
dependencies {
|
||||
compileOnly(libs.com.mojang.authlib.old)
|
||||
}
|
||||
|
@ -7,3 +7,7 @@ apply(from = rootProject.file("nms/nmsModule.gradle"))
|
||||
extra["craftbukkitVersion"] = "1.20.2-R0.1-SNAPSHOT"
|
||||
|
||||
description = "v1_20_R2"
|
||||
|
||||
dependencies {
|
||||
compileOnly(libs.com.mojang.authlib.new)
|
||||
}
|
||||
|
@ -7,3 +7,7 @@ apply(from = rootProject.file("nms/nmsModule.gradle"))
|
||||
extra["craftbukkitVersion"] = "1.20.3-R0.1-SNAPSHOT"
|
||||
|
||||
description = "v1_20_R3"
|
||||
|
||||
dependencies {
|
||||
compileOnly(libs.com.mojang.authlib.new)
|
||||
}
|
||||
|
@ -7,3 +7,7 @@ apply(from = rootProject.file("nms/nmsModule.gradle"))
|
||||
extra["craftbukkitVersion"] = "1.20.6-R0.1-SNAPSHOT"
|
||||
|
||||
description = "v1_20_R4"
|
||||
|
||||
dependencies {
|
||||
compileOnly(libs.com.mojang.authlib.new)
|
||||
}
|
||||
|
@ -6,4 +6,8 @@ apply(from = rootProject.file("nms/nmsModule.gradle"))
|
||||
|
||||
extra["craftbukkitVersion"] = "1.21-R0.1-SNAPSHOT";
|
||||
|
||||
description = "v1_21_R1"
|
||||
description = "v1_21_R1"
|
||||
|
||||
dependencies {
|
||||
compileOnly(libs.com.mojang.authlib.new)
|
||||
}
|
@ -9,7 +9,7 @@ dependencies {
|
||||
compileOnly(libs.io.netty.netty.buffer)
|
||||
compileOnly(libs.io.netty.netty.codec)
|
||||
compileOnly(libs.commons.lang.commons.lang)
|
||||
compileOnly(libs.com.mojang.authlib)
|
||||
compileOnly(libs.com.mojang.authlib.new)
|
||||
compileOnly(libs.org.spigotmc.spigot.api)
|
||||
compileOnly(libs.com.retro.packetevents)
|
||||
compileOnly(libs.libsdisguises.minimessage)
|
||||
|
@ -1,7 +1,7 @@
|
||||
dependencies {
|
||||
compileOnly(libs.org.spigotmc.spigot)
|
||||
compileOnly(libs.org.spigotmc.spigot.api)
|
||||
compileOnly(libs.com.mojang.authlib)
|
||||
compileOnly(libs.com.mojang.authlib.new)
|
||||
compileOnly(libs.io.papermc.paper.paper.api)
|
||||
compileOnly(libs.io.netty.netty.buffer)
|
||||
compileOnly(libs.com.retro.packetevents)
|
||||
|
Loading…
Reference in New Issue
Block a user