Skip to content

Commit 61ecfab

Browse files
committed
Actually updated LWJGL
1 parent 5afce9d commit 61ecfab

File tree

3 files changed

+10
-17
lines changed

3 files changed

+10
-17
lines changed

build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ blossom {
4040
}
4141

4242
repositories {
43-
maven("https://repo.polyfrost.cc/releases")
43+
maven("https://repo.polyfrost.org/releases")
44+
maven("https://repo.polyfrost.org/snapshots")
4445
}
4546

4647
val relocated = registerRelocationAttribute("relocate") {

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ deencapsulation = "42b829f373"
1616
caffeine = "2.9.3"
1717
mixin = "0.7.11-SNAPSHOT"
1818

19-
lwjgl = "1.0.0-alpha26"
19+
lwjgl = "1.0.0-alpha29"
2020
fabric-asm = "v2.3"
2121

2222
[libraries]

versions/build.gradle.kts

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ loom {
7575
}
7676

7777
repositories {
78-
maven("https://repo.polyfrost.cc/releases")
78+
maven("https://repo.polyfrost.org/releases")
79+
maven("https://repo.polyfrost.org/snapshots")
7980
}
8081

8182
val relocatedCommonProject = registerRelocationAttribute("common-lwjgl") {
@@ -165,20 +166,11 @@ dependencies {
165166
}
166167
}
167168

168-
val repackedVersions = when (platform.mcVersion) {
169-
in 10809..11202 -> listOf(RepackedVersion.LEGACY)
170-
in 11203..11802 -> listOf(RepackedVersion.PRE119NOARM, RepackedVersion.PRE119ARM)
171-
else -> listOf(RepackedVersion.POST119)
172-
}
173-
174-
repackedVersions.forEachIndexed { index, version ->
175-
val configuration = configurations.create("tempLwjglConfiguration$index")
176-
177-
compileOnly(configuration("cc.polyfrost:lwjgl-$version:${libs.versions.lwjgl.get()}"){
178-
isTransitive = false
179-
})
180-
shadeNoPom(implementationNoPom(prebundle(configuration, "lwjgl-$version.jar"))!!)
181-
}
169+
val configuration = configurations.create("tempLwjglConfiguration0")
170+
compileOnly(configuration("cc.polyfrost:lwjgl-legacy:${libs.versions.lwjgl.get()}") {
171+
isTransitive = false
172+
})
173+
shadeNoPom(implementationNoPom(prebundle(configuration, "lwjgl-legacy.jar"))!!)
182174

183175
modRuntimeOnly("me.djtheredstoner:DevAuth-" +
184176
(if (platform.isForge) { if (platform.isLegacyForge) "forge-legacy" else "forge-latest" } else "fabric")

0 commit comments

Comments
 (0)