-
-
Notifications
You must be signed in to change notification settings - Fork 124
Compatibilities & Limitations
-
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 7.4.2. It is tested to work with several other AGP versions (
com.android.library
andcom.android.application
projects only). See SUPPORTED_AGP_VERSIONS. -
Kotlin-JVM and Kotlin-Android plugins: tested with Kotlin 1.9.0.
-
Java plugins: tested with the
java-library
andjava
+application
plugins bundled with Gradle. -
Groovy: tested with
java-library
+groovy
andapplication
+groovy
plugins bundled with Gradle. -
Scala: tested with
java-library
+scala
andapplication
+scala
plugins bundled with Gradle. -
Gradle: this plugin is built with Gradle 8.2.1. It is tested against several versions. See SUPPORTED_GRADLE_VERSIONS. The minimum required version of Gradle is 7.2.
- 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
R
references from B and those references are not namespaced (you do not haveandroid.namespacedRClass=true
orandroid.nonTransitiveRClass=true
in yourgradle.properties
file). This limitation may eventually be lifted.
-