convert gstring to string

This commit is contained in:
PiggyPiglet 2020-07-24 16:32:18 +08:00
parent d1bc2f598f
commit e0e02f38b6

View File

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