mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-23 17:33:00 +08:00
fix: Google Services Gradle Plugin version check failure (#1287)
This commit is contained in:
parent
291edcd24e
commit
0ce66249da
@ -46,7 +46,7 @@ buildscript {
|
||||
|
||||
if(cordovaConfig.IS_GRADLE_PLUGIN_GOOGLE_SERVICES_ENABLED) {
|
||||
// Checks if the kotlin version format is valid.
|
||||
if(!cdvHelpers.isVersionValid(gradlePluginGoogleServicesVersion)) {
|
||||
if(!cdvHelpers.isVersionValid(cordovaConfig.GRADLE_PLUGIN_GOOGLE_SERVICES_VERSION)) {
|
||||
throw new GradleException("The defined Google Services plugin version (${cordovaConfig.GRADLE_PLUGIN_GOOGLE_SERVICES_VERSION}) does not appear to be a valid version.")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user