fat-aar-android
fat-aar-android copied to clipboard
fat-aar 怎么合并libs 中的本地aar
Describe the issue A clear and detailed description of what the issue is.
Build Environment
- Operating System: [e.g. MacOS]
- Gradle Plugin Version: [e.g. 4.1.0]
- Gradle Version: [e.g. 6.5]
- Fat-aar Version: [e.g. 1.3.1]
项目中有本地的aar 放在了 一个module 中的libs 目录,怎么才能embed 本地的aar 呢。 不能使用 fataar { /** * If transitive is true, local jar module and remote library's dependencies will be embed. * If transitive is false, just embed first level dependency * Local aar project does not support transitive, always embed first level * Default value is false * @since 1.3.0 */ transitive = false }
这个会导致太多的依赖进来。
主要是在一个gradle加上这个,然后其他的按照官方文档操作 allprojects { repositories { flatDir { dirs 'libs' }