-
-
Notifications
You must be signed in to change notification settings - Fork 139
Compatibilities & Limitations
-
Gradle: this plugin is built with Gradle 9.0.0. It is tested against several versions. The minimum required version of Gradle is 8.11.
-
It works for JVM projects (Java, Kotlin, Groovy, Scala), and Android projects written in Kotlin or Java.
-
Android Gradle Plugin: this plugin is built with AGP 8.3.x. It is tested to work with several other AGP versions (
com.android.library,com.android.application, andcom.android.testprojects only). -
Kotlin-JVM and Kotlin-Android plugins: tested with Kotlin 2.2.x.
-
Java plugins: tested with the
java-libraryandjava+applicationplugins bundled with Gradle. -
Groovy: tested with
java-library+groovyandapplication+groovyplugins bundled with Gradle. -
Scala: tested with
java-library+scalaandapplication+scalaplugins bundled with Gradle.
- False positives
-
-
Non-namespaced Android resources. Given a multi-project build with two subprojects, A and B, and A depends on B (A → B), the plugin will emit a false positive indicating B is unused in A (inaccurately), when A only uses Android
Rreferences from B and those references are not namespaced (you do not haveandroid.namespacedRClass=trueorandroid.nonTransitiveRClass=truein yourgradle.propertiesfile). This limitation is fundamental and will not be lifted.
-