diff --git a/build.gradle.kts b/build.gradle.kts index b9ee19bf3..df12db3ba 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -40,7 +40,8 @@ blossom { } repositories { - maven("https://repo.polyfrost.cc/releases") + maven("https://repo.polyfrost.org/releases") + maven("https://repo.polyfrost.org/snapshots") } val relocated = registerRelocationAttribute("relocate") { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index a74ab389d..80acbd44d 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -16,7 +16,7 @@ deencapsulation = "42b829f373" caffeine = "2.9.3" mixin = "0.7.11-SNAPSHOT" -lwjgl = "1.0.0-alpha26" +lwjgl = "1.0.0-alpha29" fabric-asm = "v2.3" [libraries] diff --git a/versions/build.gradle.kts b/versions/build.gradle.kts index d417b965a..8eda5366a 100644 --- a/versions/build.gradle.kts +++ b/versions/build.gradle.kts @@ -75,7 +75,8 @@ loom { } repositories { - maven("https://repo.polyfrost.cc/releases") + maven("https://repo.polyfrost.org/releases") + maven("https://repo.polyfrost.org/snapshots") } val relocatedCommonProject = registerRelocationAttribute("common-lwjgl") { @@ -165,20 +166,11 @@ dependencies { } } - val repackedVersions = when (platform.mcVersion) { - in 10809..11202 -> listOf(RepackedVersion.LEGACY) - in 11203..11802 -> listOf(RepackedVersion.PRE119NOARM, RepackedVersion.PRE119ARM) - else -> listOf(RepackedVersion.POST119) - } - - repackedVersions.forEachIndexed { index, version -> - val configuration = configurations.create("tempLwjglConfiguration$index") - - compileOnly(configuration("cc.polyfrost:lwjgl-$version:${libs.versions.lwjgl.get()}"){ - isTransitive = false - }) - shadeNoPom(implementationNoPom(prebundle(configuration, "lwjgl-$version.jar"))!!) - } + val configuration = configurations.create("tempLwjglConfiguration0") + compileOnly(configuration("cc.polyfrost:lwjgl-legacy:${libs.versions.lwjgl.get()}") { + isTransitive = false + }) + shadeNoPom(implementationNoPom(prebundle(configuration, "lwjgl-legacy.jar"))!!) modRuntimeOnly("me.djtheredstoner:DevAuth-" + (if (platform.isForge) { if (platform.isLegacyForge) "forge-legacy" else "forge-latest" } else "fabric")