-
Notifications
You must be signed in to change notification settings - Fork 145
Description
related #542
related #286
related #530
There's a number of instances where we are using runtime APIs that are not available in Android, or only available for specific API levels and up. Saying "this library requires java X" is not enough as not all java 8 APIs are available on android to this day and desugaring won't bring those APIs to a specific API level.
During this evaluation we should consider downstream libraries, market shares of different android versions, and code of "writing legacy code/workarounds".
Once an API level is selected, we need to hunt for any transgression and set tooling to check for use of APIs unavailable for a specific API level. (static analysis)
This should be possible via the android configuration in build.gradle which should warn about any transgression once configured.