Might not be exactly Kotlin-related, but is there a Gradle plug-in (or maybe just an easy-to-configure Lint plug-in) that lets you mark dependencies as effectively deprecated?
Our project has a ton of usages of Apache Commons and Guava from before we introduced Kotlin, and we’re looking for a way to gradually remove those dependencies (and other similar cases)
c
Czar
09/29/2018, 9:24 PM
Yup, your absolutely right - it is not relevant here, next time please ask questions like this on stackoverflow stackoverflow
But since I'm already here, you can use checkstyle for that, just outlaw imports you do not want, or expressions themselves. You can easily customize checkstyle rules. This is if you want to get rid of them in Java.
For Kotlin, you'll have to use something like deteKt
In IntelliJ you can also configure an inspection.