This commit is contained in:
@@ -35,13 +35,20 @@ jobs:
|
|||||||
cp -r src/main/resources/* out/production/Calc/ 2>/dev/null || true
|
cp -r src/main/resources/* out/production/Calc/ 2>/dev/null || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
- name: Extract FlatLaf library
|
||||||
|
run: |
|
||||||
|
cd out/production/Calc
|
||||||
|
jar xf ../../../lib/flatlaf-3.7.jar
|
||||||
|
# Remove META-INF to avoid conflicts
|
||||||
|
rm -rf META-INF
|
||||||
|
cd ../../..
|
||||||
|
|
||||||
- name: Create manifest
|
- name: Create manifest
|
||||||
run: |
|
run: |
|
||||||
echo "Manifest-Version: 1.0" > manifest.txt
|
echo "Manifest-Version: 1.0" > manifest.txt
|
||||||
echo "Main-Class: dev.sillyangel.calc.Calculator" >> manifest.txt
|
echo "Main-Class: dev.sillyangel.calc.Calculator" >> manifest.txt
|
||||||
echo "Class-Path: lib/flatlaf-3.7.jar" >> manifest.txt
|
|
||||||
|
|
||||||
- name: Create JAR
|
- name: Create fat JAR
|
||||||
run: |
|
run: |
|
||||||
cd out/production/Calc
|
cd out/production/Calc
|
||||||
jar cfm ../../../dist/CalcShortforCalculator.jar ../../../manifest.txt .
|
jar cfm ../../../dist/CalcShortforCalculator.jar ../../../manifest.txt .
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 74 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.5 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 17 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 2.4 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 36 KiB |
Binary file not shown.
Reference in New Issue
Block a user