Skip to content

908657085/fat-aar

Repository files navigation

fat-aar

package module dependencies code all to module aar

  1. 在project的build.gradle 中添加classpath

classpath 'cn.mrobot.tools:fat-aar-plugin:+'

  1. 在module的build.gradle中应用插件

apply plugin: 'cn.mrobot.tools.fat-aar'

  1. 在module的build.gradle 中添加 插件开关项

fatLibraryExt { enable true }

  1. 如果需要在打包时去除部分文件,格式如下

fatLibraryExt { enable true excludeFiles { libs { fileNames('test.jar') } jni { fileNames('test/test.so') } } }

libs 为 aar包中的文件类型 fileName 为 文件相对与文件类型目录的路径

thanks

https://github.com/Vigi0303/fat-aar-plugin

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published