is there a way to enable gradle build cache in IntelliJ without modifying `gradle.properties` ?
r
is there a way to enable gradle build cache in IntelliJ without modifying
gradle.properties
?
b
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
I guess adding gradle.properties to .gitignore and adding it to the project does what I want
I just wondered if there was an IntelliJ setting as well
r
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
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
j
message has been deleted