Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Commit

Permalink
fix resource version expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
lucyydotp committed Dec 27, 2022
1 parent c330886 commit 04faad5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 0 additions & 6 deletions buildSrc/src/main/kotlin/pronouns.conventions.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,3 @@ java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

tasks {
processResources {
expand("version" to project.version)
}
}
4 changes: 4 additions & 0 deletions pronouns-fabric/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,8 @@ tasks {
dependsOn(shadowJar)
inputFile.set(shadowJar.flatMap { it.archiveFile })
}

processResources {
expand("version" to project.version)
}
}
3 changes: 3 additions & 0 deletions pronouns-paper/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,7 @@ tasks {
build {
dependsOn(shadowJar)
}
processResources {
expand("version" to project.version)
}
}

0 comments on commit 04faad5

Please sign in to comment.