From 1bdc56d52a450132b3d172284d8c66d2ba908ad9 Mon Sep 17 00:00:00 2001 From: max-klaus Date: Wed, 17 Mar 2021 18:59:52 +0300 Subject: [PATCH] Fix huawei build --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index e59a694b17..48bcc21248 100644 --- a/build.gradle +++ b/build.gradle @@ -14,7 +14,7 @@ buildscript { classpath 'com.google.gms:google-services:3.0.0' classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - if (gradle.startParameter.taskNames.toString().contains("huawei")) { + if (gradle.startParameter.taskNames.toString().toLowerCase().contains("huawei")) { classpath 'com.huawei.agconnect:agcp:1.4.1.300' } }