mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-22 23:50:32 +00:00
16 lines
293 B
Bash
Executable file
16 lines
293 B
Bash
Executable file
#!/bin/sh
|
|
|
|
which sdk
|
|
if [ $? -ne 0 ]; then
|
|
curl -s "https://get.sdkman.io" | bash
|
|
if [ $? -ne 0 ]; then
|
|
echo "sdkman failed"
|
|
exit 1
|
|
fi;
|
|
. "$HOME/.sdkman/bin/sdkman-init.sh"
|
|
fi;
|
|
|
|
sdk install java 20.0.1-graalce
|
|
sdk default java 20.0.1-graalce
|
|
|
|
./gradlew app:run
|