2020-07-11 10:25:30 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
# Use SDKMan to install development tools
|
|
|
|
echo "Installing SDKMan as development tools manager"
|
|
|
|
curl -s "https://get.sdkman.io" | bash
|
|
|
|
|
|
|
|
# Install missing package (Linux)
|
|
|
|
case "$(uname -s)" in
|
2020-07-17 12:48:59 +00:00
|
|
|
Linux)
|
|
|
|
source "/root/.sdkman/bin/sdkman-init.sh"
|
|
|
|
;;
|
2020-07-11 10:25:30 +00:00
|
|
|
esac
|
|
|
|
|
|
|
|
echo "SDKMan installing development tools"
|
|
|
|
sdk install java
|
|
|
|
sdk install gradle
|
|
|
|
sdk install java 8.0.222-zulu
|
|
|
|
sdk install kotlin
|
|
|
|
echo "SDKMan updating"
|
|
|
|
sdk selfupdate
|