Skip to content
Discussion options

You must be logged in to vote

As per the docs:

The layering only works for properties that have no explicit values set via the DSL as doing so overrides any layering or default behaviour.

So this is working as intended. If you wish to maintain some default value which you then override from the cli, may I suggest using gradle.properties file for that?

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mpetuska
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
invalid This doesn't seem right
2 participants
Converted from issue

This discussion was converted from issue #48 on November 26, 2022 21:42.