From 0ce66249dafc916c5c2197d4c92cc51b555f777b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=A8=E3=83=AA=E3=82=B9?= Date: Tue, 20 Jul 2021 17:49:21 +0900 Subject: [PATCH] fix: Google Services Gradle Plugin version check failure (#1287) --- templates/project/app/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/project/app/build.gradle b/templates/project/app/build.gradle index 930a49a247..ae034c8a34 100644 --- a/templates/project/app/build.gradle +++ b/templates/project/app/build.gradle @@ -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.") }