-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·57 lines (42 loc) · 1.14 KB
/
setup.sh
File metadata and controls
executable file
·57 lines (42 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
echo "adding asdf openjdk plugin"
asdf plugin add java
echo "done"
VERSION=temurin-24.0.0+36
echo "installing java"
asdf install java $VERSION
echo "done"
echo "set version"
asdf set java $VERSION
echo "done"
echo "updating automated JAVA_HOME export"
echo ". ~/.asdf/plugins/java/set-java-home.zsh" >> ~/.zshrc
echo "done"
# Install the relevant build tool that you need.
# echo "adding asdf ant plugin"
# asdf plugin add ant
# echo "done"
# echo "installing ant"
# asdf install ant latest
# echo "done"
# echo "set latest version of ant to system wide version"
# asdf set ant latest
# echo "done"
# echo "adding asdf maven plugin"
# asdf plugin add maven
# echo "done"
# echo "installing maven"
# asdf install maven latest
# echo "done"
# echo "set latest version of maven to system wide version"
# asdf set maven latest
# echo "done"
GRADLE_VERSION=8.13
echo "adding asdf gradle plugin"
asdf plugin add gradle
echo "done"
echo "installing gradle"
asdf install gradle $GRADLE_VERSION
echo "done"
echo "set latest version of gradle to system wide version"
asdf set gradle $GRADLE_VERSION
echo "done"