From deee6f609944d13768bc9f5da23bceb071fa3bdd Mon Sep 17 00:00:00 2001 From: Kshitij Chauhan Date: Sun, 22 Sep 2019 00:17:58 +0530 Subject: [PATCH] fix: Fix incorrect message for DeoendencyInspector To disable version checks, we have to set `disableVersionCheck = true` instead of false, as the original message suggested. --- .../com/google/gms/googleservices/GoogleServicesPlugin.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google-services-plugin/src/main/groovy/com/google/gms/googleservices/GoogleServicesPlugin.groovy b/google-services-plugin/src/main/groovy/com/google/gms/googleservices/GoogleServicesPlugin.groovy index 5e6bb336..b2cccac6 100644 --- a/google-services-plugin/src/main/groovy/com/google/gms/googleservices/GoogleServicesPlugin.groovy +++ b/google-services-plugin/src/main/groovy/com/google/gms/googleservices/GoogleServicesPlugin.groovy @@ -71,7 +71,7 @@ class GoogleServicesPlugin implements Plugin { new DependencyInspector(globalDependencies, project.getName(), "This error message came from the google-services Gradle plugin, report" + " issues at https://github.com/google/play-services-plugins and disable by " + - "adding \"googleServices { disableVersionCheck = false }\" to your build.gradle file.")); + "adding \"googleServices { disableVersionCheck = true }\" to your build.gradle file.")); } for (PluginType pluginType : PluginType.values()) { for (String plugin : pluginType.plugins()) {