Skip to content

Propagate Quarkus properties for Gradle Test tasks#53080

Merged
gsmet merged 1 commit into
quarkusio:mainfrom
radcortez:fix-53059
Mar 17, 2026
Merged

Propagate Quarkus properties for Gradle Test tasks#53080
gsmet merged 1 commit into
quarkusio:mainfrom
radcortez:fix-53059

Conversation

@radcortez

@radcortez radcortez commented Mar 16, 2026

Copy link
Copy Markdown
Member

Quarkus configuration from Gradle does not propagate for Test tasks. Usually, our Quarkus tasks do that automatically, but in this case, we are using the Gradle Test task, which doesn't use our own.

Update:

SystemPropsAsBuildTimeConfigSourceTest was failing because it was setting a quarkus config as a system property (not propagated), and checking that an Env Var with the same name was the value being used. With this change, it uses the default Config ordinality for sources (System before Env).

The test was added in #37021, which also fixed issues with config propagation in Gradle. I don't see a reason why the test checks for the non-propagation of system properties in this case. Maybe we need @aloubyansky to check this as well.

@quarkus-bot quarkus-bot Bot added area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/gradle Gradle labels Mar 16, 2026
@quarkus-bot

This comment has been minimized.

@radcortez

Copy link
Copy Markdown
Member Author

Updated the description with some more information.

@quarkus-bot

quarkus-bot Bot commented Mar 17, 2026

Copy link
Copy Markdown

Status for workflow Quarkus CI

This is the status report for running Quarkus CI on commit 1833a6e.

✅ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

You can consult the Develocity build scans.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/devtools Issues/PR related to maven, gradle, platform and cli tooling/plugins area/gradle Gradle kind/bugfix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AOT Cache is not being generated

3 participants