This commit is contained in:
Brian Zalewski 2024-01-29 05:18:01 +00:00
parent 1a8fdfb963
commit ef23eaa780
2 changed files with 5 additions and 4 deletions

View file

@ -1,6 +1,5 @@
[tools]
java = 'openjdk-20'
node = 'lts'
python = ['3.10', '3.11', '3.12']
ruby = '3.1.3'

View file

@ -2646,9 +2646,11 @@ softwarePackages:
_name: mise
_post: |
#!/usr/bin/env bash
mise use --global openjdk-20
mise install
if [ -d "${XDG_DATA_HOME:-$HOME/.local/share}/mise/installs/java/openjdk-20/Contents" ]; then
sudo mkdir -p /Library/Java/JavaVirtualMachines/openjdk-20.jdk
sudo ln -s "${XDG_DATA_HOME:-$HOME/.local/share}/mise/installs/java/openjdk-20/Contents" /Library/Java/JavaVirtualMachines/openjdk-20.jdk/Contents
fi
apk: mise
brew: mise
cargo: mise-cli