-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
making a build script and fixing the deps
- Loading branch information
1 parent
3d17280
commit abad5ae
Showing
4 changed files
with
23 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | ||
|
||
export ARCH=x86_64 | ||
JVM=zulu8.78.0.19-ca-fx-jdk8.0.412-linux_x64 | ||
set -e | ||
ZIP=$JVM.tar.gz | ||
export JAVA_HOME=$HOME/bin/java8/ | ||
if test -d $JAVA_HOME/$JVM/; then | ||
echo "$JAVA_HOME exists." | ||
else | ||
rm -rf $JAVA_HOME | ||
mkdir -p $JAVA_HOME | ||
wget https://cdn.azul.com/zulu/bin/$ZIP | ||
tar -xvzf $ZIP -C $JAVA_HOME | ||
mv $JAVA_HOME/$JVM/* $JAVA_HOME/ | ||
fi | ||
echo "Java home set to $JAVA_HOME" | ||
|
||
./gradlew clean shadowJar |