Last active
June 12, 2019 09:17
-
-
Save rushabhshah065/127773db942b598fa9bb0bcb170da7ca to your computer and use it in GitHub Desktop.
Add task for forcefully apply lint before build.
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 { | |
.. | |
applicationVariants.all { | |
def lintTask = tasks["lint${name.capitalize()}"] | |
assembleProvider.get().dependsOn.add(lintTask) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment