diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 95111fe..50328a6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,7 @@ jobs: echo version=$project_version >> $GITHUB_OUTPUT - name: Copy artifacts before uploading - run: cp build/libs/TreasureMapsPlus-${{ steps.get_version.outputs.version }}.jar TreasureMapsPlus.jar + run: cp build/libs/TreasureMapsPlus-${{ steps.get_version.outputs.version }}-all.jar TreasureMapsPlus.jar - name: Generate SHA-256 hash run: sha256sum TreasureMapsPlus.jar > TreasureMapsPlus.jar.sha256 diff --git a/build.gradle.kts b/build.gradle.kts index 9e2a661..f481020 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -11,7 +11,7 @@ plugins { } group = "me.machinemaker" -version = "0.7.0" +version = "0.7.1" repositories { mavenCentral() @@ -47,6 +47,10 @@ spotless { paperweight.reobfArtifactConfiguration = io.papermc.paperweight.userdev.ReobfArtifactConfiguration.MOJANG_PRODUCTION tasks { + assemble { + dependsOn(shadowJar) + } + shadowJar { isEnableRelocation = true relocationPrefix = "me.machinemaker.treasuremapsplus.libs"