Produce compiled classes list (#1898)

This adjusts Gradle logic so that it produces a list of compiled classes
in each of the various native image builds.
This commit is contained in:
Daniel Chao authored and GitHub committed 2026-10-06 15:18:20 -07:00
1 parent 862c61f2e2
commit 1a3d7a1a76
9 files changed
+437 -1

No files matched your search

+13
View File
@@ -68,6 +68,19 @@ steps {
path = module.buildDir
}
}
(catalog.`actions/upload-artifact@v5`) {
name = "Upload compiled classes list"
with {
name =
if (musl)
"compiled-classes-\(project)-alpine-\(module.os)-\(module.arch)"
else
"compiled-classes-\(project)-\(module.os)-\(module.arch)"
// Need to insert a wildcard to make actions/upload-artifact preserve the folder hierarchy.
// See https://github.com/actions/upload-artifact/issues/206
path = "\(project)*/build/compiled-classes/**/*"
}
}
}
fixed job {