try fixing weird gradle getProjectTokens() null null null bug

This commit is contained in:
Adam 2022-06-26 15:30:30 +02:00
parent b8c1c57a17
commit f3f92afd22
2 changed files with 9 additions and 5 deletions

View file

@ -139,7 +139,7 @@ distributions {
from(licenseFile)
from(typescriptToLua.map { it.outputDirectory })
filesNotMatching("**/*.png") {
val tokens: MutableMap<String, String> = projectTokens.get()
val tokens: MutableMap<String, String> = projectTokensX.get()
filter<ReplaceTokens>("tokens" to tokens)
}
includeEmptyDirs = false