Skip to content

Commit 0aa08d5

Browse files
committed
typo
1 parent fb42fc3 commit 0aa08d5

1 file changed

Lines changed: 20 additions & 21 deletions

File tree

build.gradle

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -84,27 +84,6 @@ unimined.minecraft {
8484
}
8585

8686
defaultRemapJar = false
87-
}
88-
89-
// Fix GitHub Actions: Exclude ARM LWJGL natives that don't exist in Minecraft's repository
90-
afterEvaluate {
91-
configurations.named('minecraftLibraries').configure {
92-
exclude group: 'org.lwjgl', module: 'lwjgl-glfw', classifier: 'natives-linux-arm64'
93-
exclude group: 'org.lwjgl', module: 'lwjgl-glfw', classifier: 'natives-linux-arm32'
94-
exclude group: 'org.lwjgl', module: 'lwjgl-jemalloc', classifier: 'natives-linux-arm64'
95-
exclude group: 'org.lwjgl', module: 'lwjgl-jemalloc', classifier: 'natives-linux-arm32'
96-
exclude group: 'org.lwjgl', module: 'lwjgl-openal', classifier: 'natives-linux-arm64'
97-
exclude group: 'org.lwjgl', module: 'lwjgl-openal', classifier: 'natives-linux-arm32'
98-
exclude group: 'org.lwjgl', module: 'lwjgl-opengl', classifier: 'natives-linux-arm64'
99-
exclude group: 'org.lwjgl', module: 'lwjgl-opengl', classifier: 'natives-linux-arm32'
100-
exclude group: 'org.lwjgl', module: 'lwjgl-stb', classifier: 'natives-linux-arm64'
101-
exclude group: 'org.lwjgl', module: 'lwjgl-stb', classifier: 'natives-linux-arm32'
102-
exclude group: 'org.lwjgl', module: 'lwjgl-tinyfd', classifier: 'natives-linux-arm64'
103-
exclude group: 'org.lwjgl', module: 'lwjgl-tinyfd', classifier: 'natives-linux-arm32'
104-
exclude group: 'org.lwjgl', module: 'lwjgl', classifier: 'natives-linux-arm64'
105-
exclude group: 'org.lwjgl', module: 'lwjgl', classifier: 'natives-linux-arm32'
106-
}
107-
}
10887

10988
if (propertyBool('enable_shadow')) {
11089
remap(tasks.shadowJar) {
@@ -261,3 +240,23 @@ tasks.withType(JavaCompile).configureEach {
261240

262241
apply from: 'gradle/scripts/publishing.gradle'
263242
apply from: 'gradle/scripts/extra.gradle'
243+
244+
// Fix GitHub Actions: Exclude ARM LWJGL natives that don't exist in Minecraft's repository
245+
afterEvaluate {
246+
configurations.named('minecraftLibraries').configure {
247+
exclude group: 'org.lwjgl', module: 'lwjgl-glfw', classifier: 'natives-linux-arm64'
248+
exclude group: 'org.lwjgl', module: 'lwjgl-glfw', classifier: 'natives-linux-arm32'
249+
exclude group: 'org.lwjgl', module: 'lwjgl-jemalloc', classifier: 'natives-linux-arm64'
250+
exclude group: 'org.lwjgl', module: 'lwjgl-jemalloc', classifier: 'natives-linux-arm32'
251+
exclude group: 'org.lwjgl', module: 'lwjgl-openal', classifier: 'natives-linux-arm64'
252+
exclude group: 'org.lwjgl', module: 'lwjgl-openal', classifier: 'natives-linux-arm32'
253+
exclude group: 'org.lwjgl', module: 'lwjgl-opengl', classifier: 'natives-linux-arm64'
254+
exclude group: 'org.lwjgl', module: 'lwjgl-opengl', classifier: 'natives-linux-arm32'
255+
exclude group: 'org.lwjgl', module: 'lwjgl-stb', classifier: 'natives-linux-arm64'
256+
exclude group: 'org.lwjgl', module: 'lwjgl-stb', classifier: 'natives-linux-arm32'
257+
exclude group: 'org.lwjgl', module: 'lwjgl-tinyfd', classifier: 'natives-linux-arm64'
258+
exclude group: 'org.lwjgl', module: 'lwjgl-tinyfd', classifier: 'natives-linux-arm32'
259+
exclude group: 'org.lwjgl', module: 'lwjgl', classifier: 'natives-linux-arm64'
260+
exclude group: 'org.lwjgl', module: 'lwjgl', classifier: 'natives-linux-arm32'
261+
}
262+
}

0 commit comments

Comments
 (0)