-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved Java 11 compatibility, new build scripts
- Loading branch information
1 parent
210cfa3
commit 0833028
Showing
8 changed files
with
297 additions
and
178 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,6 @@ | |
*.ini | ||
.DS_Store | ||
/slf4j-jdk14-1.7.21.jar | ||
/SkewTVSP-*/ | ||
SkewTVSP-*.zip | ||
Thumbs.db |
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 @@ | ||
--illegal-access=deny |
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,25 @@ | ||
@echo off | ||
|
||
call mvn org.apache.maven.plugins:maven-help-plugin:3.1.1:evaluate -Dexpression=project.version -DforceStdout -q > version.tmp | ||
set /P version= < version.tmp | ||
echo Creating package for version %version% | ||
|
||
if not exist "target\SkewTVSP-%version%.jar" ( | ||
echo Running maven... | ||
call mvn package | ||
echo ...finished | ||
) | ||
|
||
if exist "SkewTVSP-%version%" rmdir /s /q SkewTVSP-%version% | ||
jlink --output SkewTVSP-%version% --no-header-files --no-man-pages --compress=2 --strip-debug --module-path "%PATH_TO_FX_MODS%" --add-modules java.base,java.datatransfer,java.desktop,java.logging,java.management,java.naming,java.rmi,java.scripting,java.security.jgss,java.sql,java.xml,jdk.unsupported,jdk.unsupported.desktop | ||
copy target\SkewTVSP-%version%.jar SkewTVSP-%version%\ | ||
echo @start %%~dp0bin\javaw -jar %%~dp0SkewTVSP-%version%.jar > SkewTVSP-%version%\SkewTVSP.cmd | ||
|
||
if "%1"=="archive" ( | ||
7z a -sdel SkewTVSP-%version%.zip SkewTVSP-%version% | ||
) | ||
|
||
del version.tmp | ||
set version= | ||
set mvnversion= | ||
|
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
Oops, something went wrong.