[core] Fix version (#247)

This commit is contained in:
LoveSy 2021-03-02 04:29:07 +08:00 committed by GitHub
parent 5694e459a3
commit f900f9551d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -97,8 +97,8 @@ android {
}
buildConfigField("int", "API_CODE", "$apiCode")
buildConfigField("String", "VERSION_NAME", "\"$versionName\"")
buildConfigField("Integer", "VERSION_CODE", versionCode.toString())
buildConfigField("String", "VERSION_NAME", "\"${extra["versionName"]}\"")
buildConfigField("Integer", "VERSION_CODE", extra["versionCode"].toString())
}
lintOptions {