--
You received this message because you are subscribed to the Google Groups "lint-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lint-dev+unsubscribe@googlegroups.com.
To post to this group, send email to lint...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lint-dev/6b7f64ac-7c57-4df7-98ec-22ebcbb37309%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
It sounds like you might be hittingThat one fell off the radar, I'll try to take a look soon.
On Wed, Aug 2, 2017 at 12:31 AM, chris_chutao <cha...@gmail.com> wrote:
Hi, Tor Norby:I found my custom lint don't show warning message when the "bad code" is in Android Library Module.In fact, when I debug my custom lint rule, it did find the "bad code" in Library Module and called the context.report(Issue issue, PsiElement scope, Location location, String message);Besides, when I ran command: ./gradlew lint, the "bad code" in Library was included.Is threre any solution?=========================The way I using custom lint, is build the module as AAR, and compile it in application module. Just like LinkedIn did: Writing Custom Lint Checks with GradleMy lint api version is: 25.3.1, Gradle version is: 2.3.1, Android Studio version is: 2.3.3, in MacOs, Java 1.8.To see images blow, can easily understand:
--
You received this message because you are subscribed to the Google Groups "lint-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lint-dev+u...@googlegroups.com.
It sounds like you might be hittingThat one fell off the radar, I'll try to take a look soon.
On Wed, Aug 2, 2017 at 12:31 AM, chris_chutao <cha...@gmail.com> wrote:
Hi, Tor Norby:I found my custom lint don't show warning message when the "bad code" is in Android Library Module.In fact, when I debug my custom lint rule, it did find the "bad code" in Library Module and called the context.report(Issue issue, PsiElement scope, Location location, String message);Besides, when I ran command: ./gradlew lint, the "bad code" in Library was included.Is threre any solution?=========================The way I using custom lint, is build the module as AAR, and compile it in application module. Just like LinkedIn did: Writing Custom Lint Checks with GradleMy lint api version is: 25.3.1, Gradle version is: 2.3.1, Android Studio version is: 2.3.3, in MacOs, Java 1.8.To see images blow, can easily understand:
--
You received this message because you are subscribed to the Google Groups "lint-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lint-dev+u...@googlegroups.com.