Hi folks. I'm writing a JVM library using Kotlin, and this library is to be used on Android 5+ (API 21+) as well. I keep introducing changes that won't work on older versions of Android (like using `Path`s), and I don't realise until I try to upgrade the library on Android. Is there a tool that I can use in CI to spot any use of Java APIs not available on the versions of Android we support? I searched on Google but didn't find anything (maybe I could've used better keywords)
😶 3
s
Scott Kruse
11/06/2021, 6:53 PM
Maybe could try writing build tests for different api versions / dependencies