How do I include custom lint rules in build.gradle?
I am trying to integrate the Timber Lint Rules via gradle. Is this possible, or do I have to manually install the rules?
Posted Jul 14, 2014, 7:27 PM UTC
163
I am trying to integrate the Timber Lint Rules via gradle. Is this possible, or do I have to manually install the rules?
Posted Jul 14, 2014, 7:27 PM UTC
Not sure how to manually add it, but AARs can have a lint.jar packed with it. See : http://tools.android.com/tech-docs/new-build-system/aar-format
Humorously enough, I'd like to know this as well!
Distribute it as an aar inserted of an apklib, an aar can include a lint.jar file.