Fix resources from Common not being expanded with gradle tokens.

This commit is contained in:
Tyler Hancock 2021-12-02 01:43:53 -07:00
parent 228334e794
commit ff5a66e566
No known key found for this signature in database
GPG Key ID: D10D32949D03E695

View File

@ -22,4 +22,14 @@ minecraft {
dependencies {
compileOnly group:'org.spongepowered', name:'mixin', version:'0.8.4'
}
processResources {
def buildProps = project.properties.clone()
filesMatching(['pack.mcmeta']) {
expand buildProps
}
}