mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-29 23:40:00 +00:00
Downloaded LWJGL libraries
- LWJGL is no longer shaded into the Bukkit jar - plugin.yml lists the LWJGL jars and Linux natives as Spigot libraries - The Paper loader resolves the same plugin.yml list through the Maven Central mirror - The packed payload no longer reserves the LWJGL natives prefix - Tests cover reading the library list from the plugin jar
This commit is contained in:
1 parent
aec8f5be8e
commit
0d76d81dab
5 files changed
+67
-8
No files matched your search
+1
-8
@@ -179,13 +179,6 @@ def jarJar = configurations.create('jarJar')
|
||||
dependencies {
|
||||
add('included', project(path: ':core', configuration: 'shadow'))
|
||||
add('included', project(path: ':adapters:bukkit:plugin', configuration: 'runtimeElements'))
|
||||
// Shaded: the runtime downloader can neither fetch the natives classifiers nor relocate lwjgl's own jar.
|
||||
add('included', libs.lwjgl)
|
||||
add('included', libs.lwjgl.opengl)
|
||||
add('included', libs.lwjgl.egl)
|
||||
add('included', libs.lwjgl.jawt)
|
||||
add('included', variantOf(libs.lwjgl) { classifier('natives-linux') })
|
||||
add('included', variantOf(libs.lwjgl.opengl) { classifier('natives-linux') })
|
||||
add('jarJar', project(':core:agent'))
|
||||
}
|
||||
|
||||
@@ -742,7 +735,7 @@ pluginPackaging {
|
||||
policyName = 'Iris Bukkit'
|
||||
packed = true
|
||||
packedJarAccessors = ['art/arcane/iris/platform/bukkit/plugin/VolmitPlugin#getJarFile']
|
||||
packedPayloadOnlyPrefixes = ['linux/x64/org/lwjgl/', 'iris-language-guides/']
|
||||
packedPayloadOnlyPrefixes = ['iris-language-guides/']
|
||||
stripDirectories = true
|
||||
stripLocalVariables = true
|
||||
releaseCompression = providers.gradleProperty('compactRelease')
|
||||
|
||||
Reference in new issue
Block a user