Last active
July 10, 2022 21:43
-
-
Save iamcodder/8ef5599050753a1cf204e75538142dfc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android{ | |
android.productFlavors.each { flavor -> | |
if (getGradle().getStartParameter().getTaskRequests().toString().toLowerCase().contains("appgallery") ){ | |
apply plugin: 'com.huawei.agconnect' | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment