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' } }