Skip to content

Compatibilities & Limitations

Tony Robalik edited this page Aug 20, 2025 · 12 revisions

Compatibilities

  1. 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.

  2. It works for JVM projects (Java, Kotlin, Groovy, Scala), and Android projects written in Kotlin or Java.

  3. 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, and com.android.test projects only).

  4. Kotlin-JVM and Kotlin-Android plugins: tested with Kotlin 2.2.x.

  5. Java plugins: tested with the java-library and java + application plugins bundled with Gradle.

  6. Groovy: tested with java-library + groovy and application + groovy plugins bundled with Gradle.

  7. Scala: tested with java-library + scala and application + scala plugins bundled with Gradle.

Limitations

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 have android.namespacedRClass=true or android.nonTransitiveRClass=true in your gradle.properties file). This limitation is fundamental and will not be lifted.

Clone this wiki locally