diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b1559268a..9c1f8908b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,7 +23,7 @@ jobs: run: chmod +x gradlew - name: Build - run: ./gradlew --no-daemon :api:bootJar + run: ./gradlew --no-daemon :api:shadowJar - name: Upload Artifact uses: actions/upload-artifact@v4 diff --git a/Makefile b/Makefile index e38c9b7fd..ac3f341cd 100644 --- a/Makefile +++ b/Makefile @@ -1,24 +1,18 @@ -.PHONY: api desktop bootRun build install +.PHONY: api desktop build install ifeq ($(OS),Windows_NT) api: - gradlew.bat api:bootJar + gradlew.bat api:shadowJar desktop: cd desktop && npm run electron:build - -bootRun: - gradlew.bat api:bootRun --args='--server.port=7000' else api: - ./gradlew api:bootJar + ./gradlew api:shadowJar desktop: cd desktop && npm run electron:build:deb -bootRun: - ./gradlew api:bootRun --args='--server.port=7000' - install: sudo dpkg -i desktop/release/nebulosa_0.1.0_amd64.deb endif diff --git a/api/Main.run.xml b/api/Main.run.xml index 69d9c73ea..2d1a2e146 100644 --- a/api/Main.run.xml +++ b/api/Main.run.xml @@ -1,19 +1,11 @@ - -