Extending the build - AGP APIs for plugin developers

Wojtek Kaliciński

Android Developer Advocate


Have you ever wished there was an easy way to programatically inject or change values in the merged manifest?
Or maybe you're looking for more flexibility than the Android DSL gives you for configuring variants of your build?

With the release of AGP 7.0, Android Gradle Plugin has a new set of stable APIs that Gradle plugin developers can depend on to customize the Android build with new functions, and even transform build artifacts in a safe and efficient manner, without the risk of breaking with each version or slowing down builds.

In this session, you'll learn the Gradle concepts required to take advantage of these new APIs, as well as see concrete examples of how to wire up your own Tasks to work with AGP.

I am a Developer Advocate at Google and I work primarily to support developers in building great apps using Android Studio and Kotlin, as well as teach about new Framework and Play features. I enjoy looking for ways to make apps more usable, mostly through better development patterns and code optimizations.