Join Slack
Powered by
Is there no way to get a project property defined ...
# gradle
l
Luke
03/03/2023, 2:25 PM
Is there no way to get a project property defined in gradle.properties without declaring a variable? I want to access a property but I only use the value once. I would like to get the value inline if possible but the docs seem to only use delegates
b
Big Chungus
03/03/2023, 2:52 PM
project.findProperty("key")
l
Luke
03/03/2023, 3:19 PM
Is it the same for settings.gradle.kts?
b
Big Chungus
03/03/2023, 3:20 PM
Probably not
3
Views
Open in Slack
Previous
Next