Fix huawei build
This commit is contained in:
parent
078e037ac2
commit
1bdc56d52a
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue