Move plugin to huawei flavor

This commit is contained in:
andrew 2023-08-11 19:26:53 +09:30
parent 9899b37f43
commit 1d9fb13809
3 changed files with 4 additions and 1 deletions

View File

@ -27,6 +27,10 @@ apply plugin: 'kotlin-parcelize'
apply plugin: 'kotlinx-serialization'
apply plugin: 'dagger.hilt.android.plugin'
if (getGradle().getStartParameter().getTaskRequests().toString().contains("Huawei")){
apply plugin: 'com.huawei.agconnect'
}
configurations.all {
exclude module: "commons-logging"
}

View File

@ -2,7 +2,6 @@ plugins {
id 'com.android.library'
id 'kotlin-android'
id 'kotlinx-serialization'
id 'com.huawei.agconnect'
}
android {