Where does the gradle.properties
file located in Grails/Gradle project?
I tried but not able to find it.
I have build the Gradle project using command line.
and what is the major purpose of that file.
Asked
Active
Viewed 7,261 times
1 Answers
5
There are 2 possible location for gradle.properties
file:
- project build dir
- gradle user home
Note, gradle.properties
file is not necessary located within your projects files. If it's absent, look for it in your gradle user home directory (as in users guide said: it's defined by the GRADLE_USER_HOME
environment variable, which if not set defaults to USER_HOME/.gradle
).
It's used to configure Java process, used to build your project.
You can read more about it in the Gradle official user guide

Stanislav
- 27,441
- 9
- 87
- 82