Join GitHub today
D8: Invoke-customs are only supported starting with Android O (--min-api 26) #265
Library version: 1.0.0
Repro steps or stacktrace:
Upgrading autodispose from 1.0.0-RC2 to 1.0.0 results in build failures when using R8 to generate a minified build:
AutoDispose is a Java 8 library, with the expectation that consumers are using Java 8-targeting android apps and D8/desugar tools as needed for supporting older versions of android that don't support java 8
Per the changelog here: https://github.com/uber/AutoDispose/blob/master/CHANGELOG.md#version-100-rc3
Basically - there's no reason not to use the source/target compatibility you listed + D8 on android projects as of android gradle plugin 3.2.0.