Skip to content

Commit bd675a6

Browse files
authored
v2.9.6
2 parents 81ebee4 + 20d3818 commit bd675a6

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

ensure-java-16

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/bin/bash
2+
3+
JV=`java -version 2>&1 >/dev/null | head -1`
4+
echo $JV | sed -E 's/^.*version "([^".]*)\.[^"]*".*$/\1/'
5+
6+
if [ "$JV" != 16 ]; then
7+
case "$1" in
8+
install)
9+
echo "Installing SDKMAN..."
10+
curl -s "https://get.sdkman.io" | bash
11+
source ~/.sdkman/bin/sdkman-init.sh
12+
sdk version
13+
sdk install java 16.0.2-open
14+
;;
15+
use)
16+
echo "must source ~/.sdkman/bin/sdkman-init.sh"
17+
exit 1
18+
;;
19+
esac
20+
fi

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<name>ChatEx</name>
77
<inceptionYear>2022</inceptionYear>
88

9-
<version>2.9.5</version>
9+
<version>2.9.6</version>
1010
<description>ChatManagement plugin for Bukkit</description>
1111
<url>https://www.spigotmc.org/resources/chatex-continued.71041/</url>
1212

0 commit comments

Comments
 (0)