Skip to content

Commit

Permalink
fix versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
ryderbelserion committed Sep 8, 2024
1 parent b7bd58b commit 7a8e9c3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ val isSnapshot = false

val content: String = rootProject.file("CHANGELOG.md").readText(Charsets.UTF_8)

subprojects.filter { it.name != "api" }.forEach {
it.project.version = rootProject.version
}

tasks {
modrinth {
token.set(System.getenv("MODRINTH_TOKEN"))
Expand Down
2 changes: 1 addition & 1 deletion paper/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ tasks {

processResources {
inputs.properties("name" to rootProject.name)
inputs.properties("version" to rootProject.version)
inputs.properties("version" to project.version)
inputs.properties("group" to project.group)
inputs.properties("apiVersion" to libs.versions.minecraft.get())
inputs.properties("description" to project.properties["description"])
Expand Down

0 comments on commit 7a8e9c3

Please sign in to comment.