AutoDispose: Lint error with lenient mode activated
Hi, I wanted to handle myself the lifecycle of this request, so I removed my Autodispose call but the lenient error appeared. I do have activated lenient mode in my gradle.properties, cleaned and rebuild, still the error remains.
Library version: 1.1.0
Repro steps or stacktrace:
In this case, disposables is a CompositeDisposable which I’m disposing in the onDetach function
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 17
Commits related to this issue
- Bump lint minApi to 3.3.0 (#334) From discussion in #333 — committed to uber/AutoDispose by ShaishavGandhi 5 years ago
Alright so I’m able to reproduce this. It’s actually looking for the module’s
gradle.properties
file instead of the root project’sgradle.properties
file. For now, you can either@SuppressWarning
it or you can add a module levelgradle.properties
file (not ideal I know)I’m working on a fix. Thanks for reporting!
Odd. In any case, I’d be fine with raising the requirement to 3.3.x since that’s stable now
On Tue, Feb 26, 2019 at 3:41 PM Shaishav Gandhi notifications@github.com wrote:
Great to hear, thanks! We can look to codify the minimum supported version as a followup
On Tue, Feb 26, 2019 at 11:36 AM Florentin notifications@github.com wrote: