is there a way to enable gradle build cache in IntelliJ without modifying
gradle.properties
?
b
bezrukov
05/16/2020, 11:47 AM
If you don't want to override project's gradle.properties, you can override it for your machine modifying global gradle.properties (username/.gradle/gradle.properties)
r
rrva
05/16/2020, 12:09 PM
I guess adding gradle.properties to .gitignore and adding it to the project does what I want
rrva
05/16/2020, 12:09 PM
I just wondered if there was an IntelliJ setting as well
r
rolgalan
05/16/2020, 6:37 PM
usually you want to have the project
gradle.properties
file also tracked, as you might have common useful properties there
that’s why you can have a a personal one in your home folder as Denis mentioned.
This is the general setup
g
gildor
05/18/2020, 7:06 AM
I don’t think that have idea setting for this makes much sesnse, gradle.properties in project dir or user config makes more sense
If you want enable it only from IDE, you can add CLI param to Gradle when run task from IDE, but not sure that it somehow better