Skip to content

Commit

Permalink
Use substitution in the testframework mod metadata (#1221)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matyrobbrt authored Jul 5, 2024
1 parent 6b09a51 commit 79de679
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion testframework/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ tasks.withType(ProcessResources).configureEach {
inputs.properties version: version

filesMatching(['META-INF/neoforge.mods.toml']) {
expand version: version
expand file: [
jarVersion: version
]
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ loaderVersion="[1,)"
license="LGPL v2.1"
[[mods]]
modId="testframework"
version="${version}"
version="${file.jarVersion}"
displayName="Test Framework"
description="A test framework"

0 comments on commit 79de679

Please sign in to comment.