kezong / fat-aar-android

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

Cannot Merge SmartRefreshLayout 打包Module无法合并SmartRefreshLayout #420

Open popkter opened 4 months ago

popkter commented 4 months ago

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

Build Environment

我准备自己构建一个依赖库模块。我的模块中包含第三方依赖库 SmartRefreshLayout的引用。如下


dependencies {

    ...
    embed("io.github.cymchad:BaseRecyclerViewAdapterHelper4:4.1.4")

    embed("io.reactivex.rxjava2:rxjava:2.2.21")
    embed("io.reactivex.rxjava2:rxandroid:2.1.1")

    embed("com.scwang.smart:refresh-layout-kernel:2.0.3")
    embed("com.scwang.smart:refresh-header-classics:2.0.3")
    embed("com.scwang.smart:refresh-footer-classics:2.0.3")
    ...
}

当我执行构建后,生成的aar中只有rxjava的jar,并没有另外两个三方依赖库的lib

image