Skip to content

Commit

Permalink
Merge pull request #54 from Shin-703/java11
Browse files Browse the repository at this point in the history
Change to java 11
  • Loading branch information
privat authored Jul 24, 2024
2 parents fe715f8 + d62a166 commit d9f47dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build-jar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ if git submodule status | grep \( > /dev/null ; then
version=$(git describe --tags --match 'v*' --dirty | cut -c2-)
echo "Version = $version" > src/Version.properties
mkdir -p build
find src -name "*.java" | xargs javac --release 8 -d build
find src -name "*.java" | xargs javac --release 11 -d build
if [[ "$OSTYPE" == "darwin"* ]]; then
find src -type f -not -name "*.java" -exec rsync -R {} build \;
else
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@
</plugins>
</reporting>
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<maven.compiler.release>8</maven.compiler.release>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.release>11</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
</project>

0 comments on commit d9f47dc

Please sign in to comment.