Process files that are not .png ones only to fix the mods.toml version field.

This commit is contained in:
Username404-59 2021-04-08 20:32:07 +02:00
parent e39df66c13
commit 47b9220ade
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ allprojects {
}
}
val modVersionPair: Pair<String, String> = "mod_version" to (rootProject.version as String)
filesMatching(listOf("*.json", "*.toml")) {
filesNotMatching("*.png") {
expand(mutableMapOf(modVersionPair))
}
}