GeezerVison is showing github.com — Layers DSL follow-up: configuration-cache and test cleanup by jvukicev · Pull Request #1034 · graalvm/native-build-tools
Conversation
jvukicev
commented
Aug 24, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary
- isolate named-layer lookup behind normalized Gradle properties so binaries that do not use layers retain no layer container, project, task container, or layer callbacks
- add configuration-cache coverage proving no-layer
nativeCompile and generateResourcesConfigFile graphs do not see layer producer tasks
- make layered functional-test fixture replacements line-ending independent and exercise the CRLF path on every platform
- make the Maven
<layer> parameter optional in the shared plugin descriptor while retaining the explicit layer-create validation failure
Fixes #1027.
Fixes #1033.
Fixes #1031.
Follow-up from #1032
This carries forward only the accepted annotation change from #1032 (@Parameter(required = false)). It intentionally does not include that PR’s early return: explicitly invoking layer-create without a configured, non-blank layer name still fails instead of silently succeeding.
Validation
grund check
grund fmt . --marker --cross-refs --check
- Gradle and Maven plugin Checkstyle
- Gradle plugin unit tests and focused layer configuration-cache functional tests
- no-layer configuration-cache regression test on Gradle 9.6.1
- CRLF fixture regression test on Gradle 9.6.1
- full layered native-image functional test with GraalVM 25.0.3, including configuration-cache reuse after changing the application
- generated Maven plugin descriptor reports
layer as optional
- Maven unit test confirms
layer-create without a configured layer still fails
- Maven
help:describe functional test confirms the published descriptor does not mark layer required.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
mergify Bot
added a commit
to ArcadeData/arcadedb
that referenced
this pull request
Aug 30, 2026
mergify Bot
added a commit
to robfrank/linklift
that referenced
this pull request
Sep 6, 2026
Reviewers
vjovanov
vjovanov approved these changes
Uh oh!
There was an error while loading. Please reload this page.
Labels
bug
Something isn't working
OCA Verified
All contributors have signed the Oracle Contributor Agreement.
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.