Skip to content

Commit

Permalink
[script] switch to Amazon Corretto Java for brew packages
Browse files Browse the repository at this point in the history
  • Loading branch information
lmnotran committed May 30, 2024
1 parent ff16ca8 commit 6c9d6b5
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions script/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -77,18 +77,27 @@ install_packages_brew()
{
echo 'Installing script dependencies...'

brew update

brew_packages=(
ccache
coreutils
git
git-lfs
grep
ninja-build
openjdk@17
ninja
unzip
wget
)
brew install "${brew_packages[@]}"

# Casks only work on macOS
if [ "$(uname)" = "Darwin" ]; then
brew_casks=(
corretto@17
)
brew install --cask "${brew_casks[@]}"
fi
}

install_packages_source()
Expand Down

0 comments on commit 6c9d6b5

Please sign in to comment.