在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):vigidroid/fat-aar-plugin开源软件地址(OpenSource Url):https://github.com/vigidroid/fat-aar-plugin开源编程语言(OpenSource Language):Groovy 54.8%开源软件介绍(OpenSource Introduction):DeprecatedThis repo is Deprecated. As the version of android gradle plugin keep increasing, I don't have enough time to keep supporting. And it stopped at fat-aar-pluginThis is a gradle plugin that helps to output fat aar from android library. I am inspired by android-fat-aar. And aim to make more flexible and functional. It's convenient to sdk developer(developer that provide a single aar library). It works with the android gradle plugin, the android plugin's version of the development is Update: Android plugin version 2.3.0 and later, is not well supported. disable build-cache may do the trick. So the recommend version is 2.2.3 and prior. Look this issue for more. Essentially, [Features]
Getting StartedStep 1: Apply pluginAdd snippet below to your root build script file: buildscript {
repositories {
maven {
url "http://dl.bintray.com/vigidroid/maven"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:xxx'
classpath 'me.vigi:fat-aar-plugin:0.2.8'
}
} Add snippet below to the apply plugin: 'me.vigi.fat-aar' Step 2: Embed dependencieschange dependencies {
// aar project
embed project(':aar-lib')
// java project
embed project(':java-lib')
// java dependency
embed 'com.google.guava:guava:20.0'
// aar dependency
embed 'com.android.volley:volley:1.0.0'
// other dependencies you don't want to embed in
compile 'com.squareup.okhttp3:okhttp:3.6.0'
} More usage see example. About AAR FileAAR is a file format for android library. The file itself is a zip file that containing useful stuff in android. See anatomy of an aar file here. support list for now:
Known Defects or Issues
Thanks |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论