Last active
February 9, 2021 04:58
-
-
Save prokash-sarkar/05f68a02c4625420eb1284aab4e794a9 to your computer and use it in GitHub Desktop.
This Gist is a part of the Article: https://prokash-sarkar.medium.com/multi-module-multi-flavored-test-coverage-with-jacoco-in-android-bc4fb4d135a3
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
private static boolean isAndroidModule(Project project) { | |
boolean isAndroidLibrary = project.plugins.hasPlugin('com.android.library') | |
boolean isAndroidApp = project.plugins.hasPlugin('com.android.application') | |
return isAndroidLibrary || isAndroidApp | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment