Skip to content

Commit 8b4984a

Browse files
committed
Shade JAR
1 parent a1053d8 commit 8b4984a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ jobs:
2121
distribution: 'adopt'
2222
- name: Build
2323
run: |
24-
./gradlew build
24+
./gradlew shadowJar
2525
- name: Release
2626
uses: softprops/action-gh-release@v2
2727
with:
2828
# Configuring release name and tag.
2929
name: Build \#${{ github.run_number }}
3030
tag_name: ${{ github.run_number }}
3131
# Configuring files that are attached to the release.
32-
files: "build/libs/LuaStubGen-1.0-SNAPSHOT.jar"
32+
files: "build/libs/LuaStubGen-1.0-SNAPSHOT-all.jar"
3333

build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
plugins {
22
kotlin("jvm") version "2.1.10"
3+
id("com.gradleup.shadow") version "8.3.6"
34
}
45

56
group = "win.templeos"

0 commit comments

Comments
 (0)