Endre Deak
11/01/2021, 8:48 PM-Xmx4096m
but when I do the build in Docker then I don’t need this amount of memory.
What’s the right way to tell my local gradle to use that amount of memory outside of my gradle,properties
file in my project? I use IntelliJ IDEA and command line too, so ideally when I kick off a gradle command via the IDE or just type gradle command
, the same settings would be picked up, but when it runs within the docker image, then it just ignores it.ephemient
11/01/2021, 8:56 PMFleshgrinder
11/01/2021, 8:56 PM$GRADLE_HOME/gradle.properties
file, but then it's used for every Gradle run on your system. Not sure if that would bother you. Alternatively you could use something like https://direnv.net/ but not sure regarding IDEA support. Of course you could set it there separately, but that can get annoying quickly...Endre Deak
11/01/2021, 9:08 PM