When compiling a groovy project, gradle creates files in $projectRoot/build/. Is there a way to configure this to e.g. an absolute path?
When compiling a groovy project, gradle creates files in $projectRoot/build/ . Is there a
Share
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.
Yes, there is. You can put the following line in your build script:
Or in
gradle.propertiesfile (no quotes aroundyour_directoryin that case).Build directory is a project property. You can view all project properties available to you by typing: