Native noise packaging

- Exclude native noise classes and libraries from Java 21 runtime jars
- Map the probe native library and policy properties to the native noise loader
This commit is contained in:
Brian Neumann-Fopiano committed 2026-10-21 21:35:06 -04:00
1 parent dcfadc8d1d
commit 2d60898744
2 files changed
+8 -1

No files matched your search

+4
View File
@@ -476,6 +476,10 @@ tasks.named('shadowJar', ShadowJar).configure {
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/native/**')
}
// 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