Only process .json and .toml files in the ProcessResources gradle task.
This commit is contained in:
parent
4b9a04a431
commit
17b07458f8
|
@ -78,7 +78,9 @@ allprojects {
|
|||
}
|
||||
withType(ProcessResources::class) {
|
||||
val modVersionPair: Pair<String, String> = "mod_version" to (rootProject.version as String)
|
||||
expand(mutableMapOf(modVersionPair))
|
||||
filesMatching(listOf("*.json", "*.toml")) {
|
||||
expand(mutableMapOf(modVersionPair))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue