Ken,
I agree that there are valid reasons to use gradle.properties. My comments
were mostly related to adding additional properties files like
dependencies.properties.
For settings that are specific to both user and build, I sometimes do this:
def userGradleScript =
file("gradle/${System.getProperty("user.name")}.gradle")
if (userGradleScript.exists()) {
apply from: userGradleScript
}
Now everyone can have his <username>.gradle, and can even check it in
(assuming usernames are unique).
--
Peter Niederwieser
Principal Engineer, Gradleware
http://gradleware.com
Creator, Spock Framework
http://spockframework.org
Twitter: @pniederw
--
View this message in context:
http://gradle.1045684.n5.nabble.com/Best-Practices-for-storing-common-configuration-values-tp5709823p5709834.html
Sent from the gradle-user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email