Android Gradle Plugin 8.12+ introduces the official Fused Library plugin (com.android.fused-library) to replace "fat AAR" hacks. This plugin allows SDK developers to maintain deep internal modularization while publishing a single AAR artifact to consumers. The article covers setup requirements, the include configuration for bundling modules, publishing with fusedLibraryComponent, merge behavior for classes and resources, and current limitations including no data binding support, no source JARs, and publication-only usage by default. The plugin provides deterministic merging rules and fails loudly on conflicts, making it suitable for serious Android SDK development.
Sort: