Skip to content

Commit 0eac940

Browse files
committed
Downgrade LWJGL to 3.3.3
1 parent 8612b23 commit 0eac940

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

build.gradle.kts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ val mockitoKotlin : String by project
3939
val mockitoInline : String by project
4040
val mockkVersion : String by project
4141
val spairVersion : String by project
42+
val lwjglVersion : String by project
4243

4344

4445
val libs = file("libs")
@@ -60,6 +61,15 @@ version = modVersion
6061

6162
base.archivesName = modId
6263

64+
// We need to force it using lwjgl 3.3.3 because of 3.3.4 poor support for Wayland protocol
65+
configurations.all {
66+
resolutionStrategy.eachDependency {
67+
if (requested.group == "org.lwjgl") {
68+
useVersion(lwjglVersion)
69+
}
70+
}
71+
}
72+
6373
repositories {
6474
mavenLocal() // Allow the use of local repositories
6575
maven("https://maven.2b2t.vc/releases") // Baritone

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ modAuthors=Constructor (Avanatiker), Blade, beanbag44, Edouard127
2828
minecraftVersion=1.21.5
2929
minecraftVersionMin=1.21.5
3030
minecraftVersionMax=1.21.6
31+
lwjglVersion=3.3.3
3132
mixinExtrasVersion=0.5.0-rc.2
3233
kotlinVersion=2.2.0
3334
pngEncoderVersion=0.16.0

0 commit comments

Comments
 (0)