Slackbot
01/17/2024, 8:12 AMephemient
01/17/2024, 8:27 AMephemient
01/17/2024, 8:28 AMVampire
01/17/2024, 8:28 AM<GRADLE_USER_HOME>/gradle.properties to override values, it system properties, or environment variables, or -P commandline arguments.
A project specific file based solution was requested multiple times already but unfortunately up to now always rejected, for example here: https://github.com/gradle/gradle/issues/12283
There are plugins like https://plugins.gradle.org/plugin/net.saliman.properties that provide something similar, but with some quirks. For example they are only set as extra properties which only override project properties if requested the right way. providers.gradleProperty for example would not see those. And that specific plugin also has some other quirks like more or less completely disabling task configuration avoidance and configuration cache in its current state.ephemient
01/17/2024, 8:30 AMephemient
01/17/2024, 8:31 AMFuyang Liu
01/17/2024, 8:52 AM