droidcon
Read post

The end of the “Fat AAR” hack: mastering the AGP Fused Library Plugin

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.

    #android#gradle
Dec 15, 2025•9m read time•From droidcon.com
Post cover image
295 Impressions
droidcon's image
droidcon

Droidcon's platform is a central hub for Android developers, offering insights into Android app deve...

291 Followers

•

681 Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard