kezong / fat-aar-android

A gradle plugin that merge dependencies into the final aar file works with AGP 3.+
MIT License
3.13k stars 621 forks source link

fat-aar 怎么合并libs 中的本地aar #377

Open louiewh opened 2 years ago

louiewh commented 2 years ago

Describe the issue A clear and detailed description of what the issue is.

Build Environment

项目中有本地的aar 放在了 一个module 中的libs 目录,怎么才能embed 本地的aar 呢。 不能使用 fataar { /**

这个会导致太多的依赖进来。

zhongqingsong commented 2 years ago

主要是在一个gradle加上这个,然后其他的按照官方文档操作 allprojects { repositories { flatDir { dirs 'libs' }