Skip to content

Commit

Permalink
Fix jar outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
gabber235 committed Nov 24, 2023
1 parent de288ef commit 93d8f04
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-development-jars-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
purpur
game-versions: |
1.19.4
1.20.0
1.20
1.20.1
1.20.2
- name: Notify Discord
Expand All @@ -94,5 +94,5 @@ jobs:
description: |
I have published a development build of Typewriter.
Version: ${{ steps.vars.outputs.version }}
[Download](${{ steps.publish.outputs.modrinth-url }})
[Download](https://modrinth.com/mod/typewriter/versions/${{ steps.publish.outputs.modrinth-version }})
1 change: 1 addition & 0 deletions adapters/BasicAdapter/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,6 @@ task<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar>("buildRelease")
// Rename the jar to remove the version and -all
val jar = file("build/libs/%s-%s-all.jar".format(project.name, project.version))
jar.renameTo(file("build/libs/%s.jar".format(project.name)))
file("build/libs/%s-%s.jar".format(project.name, project.version)).delete()
}
}
1 change: 1 addition & 0 deletions adapters/CitizensAdapter/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,6 @@ task<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar>("buildRelease")
// Rename the jar to remove the version and -all
val jar = file("build/libs/%s-%s-all.jar".format(project.name, project.version))
jar.renameTo(file("build/libs/%s.jar".format(project.name)))
file("build/libs/%s-%s.jar".format(project.name, project.version)).delete()
}
}
1 change: 1 addition & 0 deletions adapters/CombatLogXAdapter/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,6 @@ task<ShadowJar>("buildRelease") {
// Rename the jar to remove the version and -all
val jar = file("build/libs/%s-%s-all.jar".format(project.name, project.version))
jar.renameTo(file("build/libs/%s.jar".format(project.name)))
file("build/libs/%s-%s.jar".format(project.name, project.version)).delete()
}
}
1 change: 1 addition & 0 deletions adapters/MythicMobsAdapter/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,6 @@ task<ShadowJar>("buildRelease") {
// Rename the jar to remove the version and -all
val jar = file("build/libs/%s-%s-all.jar".format(project.name, project.version))
jar.renameTo(file("build/libs/%s.jar".format(project.name)))
file("build/libs/%s-%s.jar".format(project.name, project.version)).delete()
}
}
1 change: 1 addition & 0 deletions adapters/RPGRegionsAdapter/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,6 @@ task<ShadowJar>("buildRelease") {
// Rename the jar to remove the version and -all
val jar = file("build/libs/%s-%s-all.jar".format(project.name, project.version))
jar.renameTo(file("build/libs/%s.jar".format(project.name)))
file("build/libs/%s-%s.jar".format(project.name, project.version)).delete()
}
}
1 change: 1 addition & 0 deletions adapters/SuperiorSkyblockAdapter/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,6 @@ task<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar>("buildRelease")
// Rename the jar to remove the version and -all
val jar = file("build/libs/%s-%s-all.jar".format(project.name, project.version))
jar.renameTo(file("build/libs/%s.jar".format(project.name)))
file("build/libs/%s-%s.jar".format(project.name, project.version)).delete()
}
}
1 change: 1 addition & 0 deletions adapters/VaultAdapter/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,6 @@ task<ShadowJar>("buildRelease") {
// Rename the jar to remove the version and -all
val jar = file("build/libs/%s-%s-all.jar".format(project.name, project.version))
jar.renameTo(file("build/libs/%s.jar".format(project.name)))
file("build/libs/%s-%s.jar".format(project.name, project.version)).delete()
}
}
1 change: 1 addition & 0 deletions adapters/WorldGuardAdapter/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,6 @@ task<ShadowJar>("buildRelease") {
// Rename the jar to remove the version and -all
val jar = file("build/libs/%s-%s-all.jar".format(project.name, project.version))
jar.renameTo(file("build/libs/%s.jar".format(project.name)))
file("build/libs/%s-%s.jar".format(project.name, project.version)).delete()
}
}
1 change: 1 addition & 0 deletions plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -121,5 +121,6 @@ task<ShadowJar>("buildRelease") {
// Rename the jar to remove the version and -all
val jar = file("build/libs/%s-%s-all.jar".format(project.name, project.version))
jar.renameTo(file("build/libs/%s.jar".format(project.name)))
file("build/libs/%s-%s.jar".format(project.name, project.version)).delete()
}
}

0 comments on commit 93d8f04

Please sign in to comment.