File tree Expand file tree Collapse file tree 3 files changed +10
-17
lines changed
Expand file tree Collapse file tree 3 files changed +10
-17
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,8 @@ blossom {
4040}
4141
4242repositories {
43- maven(" https://repo.polyfrost.cc/releases" )
43+ maven(" https://repo.polyfrost.org/releases" )
44+ maven(" https://repo.polyfrost.org/snapshots" )
4445}
4546
4647val relocated = registerRelocationAttribute(" relocate" ) {
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ deencapsulation = "42b829f373"
1616caffeine = " 2.9.3"
1717mixin = " 0.7.11-SNAPSHOT"
1818
19- lwjgl = " 1.0.0-alpha26 "
19+ lwjgl = " 1.0.0-alpha29 "
2020fabric-asm = " v2.3"
2121
2222[libraries ]
Original file line number Diff line number Diff line change 7575}
7676
7777repositories {
78- maven(" https://repo.polyfrost.cc/releases" )
78+ maven(" https://repo.polyfrost.org/releases" )
79+ maven(" https://repo.polyfrost.org/snapshots" )
7980}
8081
8182val 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" )
You can’t perform that action at this time.
0 commit comments