Reputation: 56411
Is there any way, to make Android-Studio, that it included some lines (by default) in gradle.properties
, everytime when it generates a new project?
(for example, I want these lines to be included):
org.gradle.daemon=true
org.gradle.parallel=true
Upvotes: 1
Views: 61
Reputation: 125
Yes. Gradle reads a global and a project gradle.properties
file. You could add this in the global gradle.properties
file.
Global properties location:
/User Home Folder/.gradle/gradle.properties
Project properties location: /ProjectRoot/gradle.properties
From the Gradle documentation:
You can place a gradle.properties file in the Gradle user home directory (defined by the “GRADLE_USER_HOME” environment variable, which if not set defaults to USER_HOME/.gradle) or in your project directory.
Upvotes: 1