Native noise packaging

- Default artifacts carry the CPU native noise libraries inside the packed payload

- Java 21 modded jars exclude Java 25 native classes
This commit is contained in:
Brian Neumann-Fopiano committed 2026-10-22 08:58:32 -04:00
1 parent af90765a92
commit 0b4d860ff4
6 files changed
+38 -14

No files matched your search

+2 -7
View File
@@ -39,6 +39,7 @@ plugins {
}
apply from: rootProject.file('gradle/runtime-relocations.gradle')
apply from: rootProject.file('gradle/java21-runtime-exclusions.gradle')
def lib = 'art.arcane.iris.util'
@@ -475,13 +476,7 @@ tasks.named('shadowJar', ShadowJar).configure {
dependsOn(embeddedAgentJar)
mergeServiceFiles()
if (providers.gradleProperty('irisRuntimeJava').getOrElse(rootProject.irisModTarget.java.toString()) == '21') {
exclude('art/arcane/volmlib/util/noise/NativeBillowLoader*.class')
exclude('art/arcane/volmlib/util/noise/BillowBatch*.class')
exclude('art/arcane/volmlib/util/noise/NativeNoiseLibrary*.class')
exclude('art/arcane/volmlib/util/noise/program/NativeNoise*.class')
exclude('art/arcane/volmlib/util/noise/program/NativeProgramEncoder*.class')
exclude('art/arcane/volmlib/util/noise/program/GpuNoise*.class')
exclude('art/arcane/volmlib/native/**')
exclude(java21RuntimeExclusions)
}
// minimize() stays off. Caffeine reaches its 520 generated cache and node classes through
// MethodHandles.Lookup.findClass on a computed name, and the VolmLib command, GUI and hotload