-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sign jar from the gradle task instead of the CI
- Loading branch information
1 parent
cc258a6
commit 1e8bd25
Showing
4 changed files
with
52 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
@echo off | ||
setlocal enabledelayedexpansion | ||
|
||
if "%1"=="" ( | ||
echo Error: The path to the root project is required as the first argument. | ||
exit /b 1 | ||
) | ||
|
||
if "%2"=="" ( | ||
echo Error: The signing key is required as the second argument. | ||
exit /b 1 | ||
) | ||
|
||
for %%i in (EOCVSimPlugin\build\libs\*.jar) do ( | ||
java -classpath "%~1\tools\Common.jar" io.github.deltacv.eocvsim.plugin.security.PluginSigningTool --plugin=%%i --authority=deltacv --key=%2 | ||
) |
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,14 @@ | ||
# Check if required arguments are provided | ||
if [ -z "$1" ]; then | ||
echo "Error: The path to the root project is required as the first argument." | ||
exit 1 | ||
fi | ||
|
||
if [ -z "$2" ]; then | ||
echo "Error: The signing key is required as the second argument." | ||
exit 1 | ||
fi | ||
|
||
for i in EOCVSimPlugin/build/libs/*.jar; do | ||
java -classpath "$1/tools/Common.jar" io.github.deltacv.eocvsim.plugin.security.PluginSigningTool --plugin=$i --authority=deltacv --key=$2 | ||
done |