This message was deleted.
# community-support
s
This message was deleted.
v
How / where do you set it?
šŸ‘† 1
j
I am using them in configuration phase, I set them in any possible way: • CLI • project
gradle.properties
• root project
gradle.properties
I tried to try/catch
InvalidUserCodeException
, but looks like it is not possible
findProperty
is unsafe too
I think I should by pass this issue manually as I can't find any alternative API
It is not so trivial as I have to check the CLI parameters in order to extract if the property exists on cli
v
I'm pretty sure this worked as you expect it to which is also how it is documented when I last tried it 1 or 2 weeks ago
j
Do you mean than
providers::gradleProperty
should pick project
gradle.properties
file over the root one? It is not working for me šŸ˜•
v
Yes, I do, as is documented in the userguide. But actually, now I see the same behavior as you. šŸ˜• Clearly a bug I'd say, so good you reported it. šŸ™‚
šŸ‘ 1
I wonder what I did recently
šŸ‘ 1