Skip to content

Commit 3e29eb6

Browse files
committed
Fix LWJGLX support in dev.
1 parent 4acdcb5 commit 3e29eb6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dev/src/main/groovy/com/fox2code/foxloader/dev/GradlePlugin.groovy

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,12 @@ class GradlePlugin implements Plugin<Project> {
236236
}
237237
}
238238
if (config.useLWJGLX) {
239+
project.configurations.configureEach {
240+
exclude group: 'org.lwjgl.lwjgl', module: 'lwjgl'
241+
exclude group: 'org.lwjgl.lwjgl', module: 'lwjgl_util'
242+
exclude group: 'org.lwjgl.lwjgl', module: 'lwjgl-platform'
243+
}
244+
239245
String lwjglNatives
240246

241247
switch (OperatingSystem.current()) {

0 commit comments

Comments
 (0)