mirror of
https://github.com/cirruslabs/macos-image-templates.git
synced 2026-10-10 00:35:33 +02:00
Add Java to path
This commit is contained in:
@@ -66,6 +66,7 @@ build {
|
||||
inline = [
|
||||
"source ~/.zprofile",
|
||||
"brew install openjdk@17",
|
||||
"echo 'export PATH=\"/opt/homebrew/opt/openjdk@17/bin:$PATH\"' >> ~/.zprofile",
|
||||
"echo 'export ANDROID_HOME=$HOME/android-sdk' >> ~/.zprofile",
|
||||
"echo 'export ANDROID_SDK_ROOT=$ANDROID_HOME' >> ~/.zprofile",
|
||||
"echo 'export PATH=$PATH:$ANDROID_HOME/cmdline-tools/latest/bin:$ANDROID_HOME/platform-tools:$ANDROID_HOME/emulator' >> ~/.zprofile",
|
||||
|
||||
Reference in New Issue
Block a user