---
title: "The end of the “Fat AAR” hack: mastering the AGP Fused Library Plugin"
url: https://daily.dev/posts/the-end-of-the-fat-aar-hack-mastering-the-agp-fused-library-plugin-jschjemvp
source_url: https://www.droidcon.com/2025/12/11/the-end-of-the-fat-aar-hack-mastering-the-agp-fused-library-plugin/
type: article
source: "droidcon"
published: 2025-12-15T16:16:07.542Z
updated: 2025-12-15T16:16:37.517Z
tags: ["android", "gradle"]
reading_time: 9
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

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

**[droidcon](https://daily.dev/sources/droidcon)** · 9 min read · 0 upvotes · 0 comments

## Summary

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.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.droidcon.com/2025/12/11/the-end-of-the-fat-aar-hack-mastering-the-agp-fused-library-plugin/>

## Similar posts on daily.dev

- [Fat AAR: Bundling Transitive Dependencies for Zero-Config Android SDK Consumers](https://daily.dev/posts/fat-aar-bundling-transitive-dependencies-for-zero-config-android-sdk-consumers-iejjny14c) · ProAndroidDev · 1 upvotes · 0 comments
- [Google Brings Optimized Resource Shrinking in Latest Android Gradle Plugin](https://daily.dev/posts/google-brings-optimized-resource-shrinking-in-latest-android-gradle-plugin-hww3e9mtk) · InfoQ · 0 upvotes · 0 comments

---

Tags: [#android](https://daily.dev/tags/android), [#gradle](https://daily.dev/tags/gradle)

[View this post on daily.dev](https://daily.dev/posts/the-end-of-the-fat-aar-hack-mastering-the-agp-fused-library-plugin-jschjemvp)
