Skip to content

Commit

Permalink
fix: not properly shading dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Machine-Maker committed Jun 23, 2024
1 parent 7eb2132 commit d09615c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ plugins {
}

group = "me.machinemaker"
version = "0.7.0"
version = "0.7.1"

repositories {
mavenCentral()
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit d09615c

Please sign in to comment.