commit | 3a1544ab1a8094f5a8980ae0f98e2a021adf798e | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Mon Jul 24 19:25:17 2017 -0700 |
committer | Colin Cross <ccross@android.com> | Mon Jul 24 19:27:31 2017 -0700 |
tree | 1307f410b18de3e7074eb821912ba28160a0044b | |
parent | e97e69359af89876eb22616af3652bee2d5fd4cf [diff] |
Make JAVA_HOME absolute inside build Export JAVA_HOME as an absolute path to commands running inside a build. Should fix errors invoking gradle from inside a build: ERROR: JAVA_HOME is set to an invalid directory: prebuilts/jdk/jdk8/linux-x86 Please set the JAVA_HOME variable in your environment to match the location of your Java installation. Test: treehugger Change-Id: I16e4482b2d74ede0843715be3b08c65ce33cf403