fixed resource processing variables

This commit is contained in:
PiggyPiglet 2020-07-15 01:00:01 +08:00
parent bc0535e2f4
commit ca8fb3117f

View File

@ -37,7 +37,7 @@ import org.apache.tools.ant.filters.ReplaceTokens
processResources {
from(sourceSets.main.resources.srcDirs) {
filter ReplaceTokens, tokens: [name: rootProject.name, version: version, description: description]
filter ReplaceTokens, tokens: [name: rootProject.name, version: project.version, description: project.description]
}
}