Skip to content

Commit

Permalink
Don't add spaces to built shadowjars (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
pajlada authored Nov 29, 2023
1 parent ea01ae3 commit 4433b61
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: stealing-artefacts-shadow
path: build/libs/*-all.jar
path: build/libs/stealing-artefacts-*-all.jar
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- Minor: Add a plugin hub icon of Captain Khaled, the face of artefact stealing. (#1)
- Dev: Update Java source & target compatibility to 11. (#3)
- Dev: Rewrite build.gradle into Kotlin DSL script. (#2)
- Dev: Add shadow jar support. (#4, #6)

## 1.2

Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,5 @@ tasks.register(name = "shadowJar", type = Jar::class) {

group = BasePlugin.BUILD_GROUP
archiveClassifier.set("shadow")
archiveFileName.set(rootProject.name + "-" + project.version + "-all.jar")
}
archiveFileName.set(rootProject.name.replace(" ", "-").toLowerCase() + "-" + project.version + "-all.jar")
}

0 comments on commit 4433b61

Please sign in to comment.