add DESCRIPTION to processResources

This commit is contained in:
dfsek
2021-05-14 23:09:08 -07:00
parent 43095d0df1
commit b663d34320
2 changed files with 6 additions and 6 deletions

View File

@@ -29,7 +29,8 @@ fun Project.configureCompilation() {
include("**/*.*")
filter<org.apache.tools.ant.filters.ReplaceTokens>(
"tokens" to mapOf(
"VERSION" to project.version.toString()
"VERSION" to project.version.toString(),
"DESCRIPTION" to project.properties["terra.description"]
)
)
}

View File

@@ -1,7 +1,7 @@
modLoader="javafml"
loaderVersion="[36,)"
license="GNU General Public License, version 3.0"
issueTrackerURL="https://github.com/PolyhedralDev/Terra/issues/"
modLoader = "javafml"
loaderVersion = "[36,)"
license = "GNU General Public License, version 3.0"
issueTrackerURL = "https://github.com/PolyhedralDev/Terra/issues/"
[[mods]]
modId = "terra"
version = "@VERSION@"
@@ -9,7 +9,6 @@ displayName = "Terra"
displayURL = "https://github.com/PolyhedralDev/Terra/"
authors = "dfsek & Terra contributors"
description = "@DESCRIPTION@"
version = "${file.jarVersion}"
[[dependencies.terra]]
modId = "forge"
mandatory = true