saket
09/24/2021, 4:18 AMJAVA_HOME
variable. It seems like Xcode doesn’t source any shell profile during its build process causing JAVA_HOME
to resolve to null
. I checked this by adding this to my `build.gradle`:
println("JAVA_HOME = ${System.getenv("JAVA_HOME")}")
Folks who’re using AGP 7.0, have any of you run into this before?mbonnin
09/24/2021, 7:47 AMsaket
09/24/2021, 6:57 PMenvironment.plist
over setting org.gradle.java.home
in ~/.gradle/ gradle.propeties
?mbonnin
09/24/2021, 6:58 PMmbonnin
09/24/2021, 6:59 PM~/.gradle/gradle.properties
but both should workmbonnin
09/24/2021, 7:01 PMenvironment.plist
thingie seems capable of running arbitrary commands, it should be possible (albeit certainly not fun...) to define JAVA_HOME
in a separate file that is sourced both from .bash_profile
and environment.plpist
saket
09/24/2021, 7:11 PM