diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 2fa84a7..2cbf308 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f8ef48..5f22c42 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/build.gradle.kts b/build.gradle.kts index dce1e7d..6374d16 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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") -} \ No newline at end of file + archiveFileName.set(rootProject.name.replace(" ", "-").lowercase() + "-" + project.version + "-all.jar") +}