dagger.lint.DaggerKotlinIssueDetector failing in recent versions of dagger/hilt/agp
See original GitHub issueIn the past few days I’ve been upgrading my repo from chipmunk c5 and a bunch of dependencies. I haven’t been able to figure out the exact culprit, but when I run lint, lint crashes internally seemingly. It gives me this error.
The crash seems to involve the detector dagger.lint.DaggerKotlinIssueDetector.
You can try disabling it with something like this:
android {
lintOptions {
disable "JvmStaticProvidesInObjectDetector", "FieldSiteTargetOnQualifierAnnotation", "ModuleCompanionObjects", "ModuleCompanionObjectsNotInModuleParent"
}
}
I’ll try to report back with more info but let me know if this seems like an agp thing or dagger.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Gradle dagger lint: ignore by package - android - Stack Overflow
FYI, as of version 0.10.1 of the Android Gradle plugin this will no longer be necessary; lint will automatically ignore these issues found...
Read more >Lint Fails when using lateinit var inside tests - Issue Tracker
We are getting failures in our test class when running ./gradlew lintDebug . ... should resolve it just by updating to the latest...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Umm, sometime this month. 🙂
We are just trying to also finish a few more fixes before making a release. Thank you for your patience!
@danysantiago thanks, any rough ETA for the next release, this will be helpful in upgrading the AGP