Skip to content

Commit 04f6ec1

Browse files
authored
Merge pull request #365 from Polyfrost/revert-364-develop-v0
2 parents 55eaa9d + e0df40a commit 04f6ec1

File tree

9 files changed

+19
-129
lines changed

9 files changed

+19
-129
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ OneConfig is a free, open sourced configuration library by [Polyfrost](https://p
1818
</details>
1919

2020
### How to get:
21-
For beginners, we recommend using [SkyClient](https://skyclient.co/), a free and open-sourced mod installer. For more technical users, all of our mods, including [Hytils](https://github.com/Polyfrost/Hytils-Reborn), [CrashPatch](https://github.com/Polyfrost/crashpatch), [EvergreenHUD](https://github.com/Polyfrost/EvergreenHUD), and [Chatting](https://github.com/Polyfrost/chatting) have full support, and come with OneConfig. Mods which use [Vigilance](https://github.com/EssentialGG/Vigilance) are also supported through our [compatibility layer](https://docs.polyfrost.cc/oneconfig/config/compatibility).
21+
For beginners, we recommend using [SkyClient](https://skyclient.co/), a free and open-sourced mod installer. For more technical users, all of our mods, including [Hytils](https://github.com/Polyfrost/Hytils-Reborn), [CrashPatch](https://github.com/Polyfrost/crashpatch), [EvergreenHUD](https://github.com/Polyfrost/EvergreenHUD), and [Chatting](https://github.com/Polyfrost/chatting) have full support, and come with OneConfig. Mods which use [Vigilance](https://github.com/EssentialGG/Vigilance) are also supported through our [compatability layer](https://docs.polyfrost.cc/oneconfig/config/compatibility).
2222

2323
### Is it a client?
2424
While it may look like OneConfig is a client, in reality it's actually a standalone mod. You can actually [see for yourself](https://github.com/Polyfrost/OneConfig-Bootstrap), it doesn't come with any mods of it's own. It's left up to the user to decide which mods they want to actually use.

build.gradle.kts

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

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

4746
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-alpha29"
19+
lwjgl = "1.0.0-alpha26"
2020
fabric-asm = "v2.3"
2121

2222
[libraries]

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ pluginManagement {
33
gradlePluginPortal()
44
maven("https://repo.polyfrost.org/releases")
55
}
6-
val pgtVersion = "0.6.6"
6+
val pgtVersion = "0.6.2"
77
plugins {
88
id("org.polyfrost.multi-version.root") version pgtVersion
99
id("org.polyfrost.defaults") version pgtVersion

versions/build.gradle.kts

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

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

8281
val relocatedCommonProject = registerRelocationAttribute("common-lwjgl") {
@@ -166,11 +165,20 @@ dependencies {
166165
}
167166
}
168167

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"))!!)
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+
}
174182

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

versions/src/main/java/cc/polyfrost/oneconfig/internal/hacks/SkyClientUpdaterHack.java

Lines changed: 0 additions & 55 deletions
This file was deleted.

versions/src/main/java/cc/polyfrost/oneconfig/internal/mixin/SkyClientUpdaterMixin.java

Lines changed: 0 additions & 61 deletions
This file was deleted.

versions/src/main/resources/mixins.oneconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"OptifineConfigMixin",
1818
"RedactionNameHighlightMixin",
1919
"ShaderGroupAccessor",
20-
"SkyClientUpdaterMixin",
2120
"VigilantMixin",
2221
"WorldClientMixin"
2322
]
-166 KB
Binary file not shown.

0 commit comments

Comments
 (0)