This now-deprecated Gradle plugin enabled the use of the Groovy programming language in Android applications and libraries. It provided support for Groovy source files within Android projects, though it’s officially deprecated in favor of Kotlin and has ceased working with Gradle 6.0 and above. This plugin has been successfully tested with Android Studio and will make no attempts to add support for other IDEs. This plugin will let you write an application in Groovy but it is recommended, for performance, memory and battery life, that you use @CompileStatic wherever possible. In order to include libraries written in groovy that include the groovy or groovy-all jars, you will need to exclude the groovy dependency allowing the grooid jar to be the one to be compiled against.
Features
- Adds Groovy language support to Android apps and libraries
- Supports Groovy source sets like src/main/groovy
- Compatible with Android Gradle Plugin 3.0.0 and above (older versions supported via v1.2.0)
- Workarounds included using ProGuard or JarJar to resolve build issues with newer Android build tools
- Provided annotation processing compatibility in 1.2.0 release
- Source repository archived as of March 26, 2025—read-only and no longer maintained