How would I include a properties file in Gradle?
For example in Ant, I could do the following:
<property file="${basedir}/build.properties" />
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could do it using the java syntax, e.g.:
This should work in any groovy script. There might be a more “groovy” way of doing it though, using closures or some other fancy shortcut.
EDIT: “in” is a reserved word in groovy. A variable can’t be named that way, renaming it to “ins”