|
2 | 2 | [](https://github.com/kezong/fat-aar-android/blob/master/LICENSE) |
3 | 3 | [](https://maven-badges.herokuapp.com/maven-central/com.github.kezong/fat-aar) |
4 | 4 |
|
5 | | -该插件提供了将library以及它依赖的library一起打包成一个完整aar的解决方案,支持AGP 3.0及以上。(目前测试的版本范围是AGP 3.0 - 4.2.0,Gradle 4.9 - 6.8) |
| 5 | +该插件提供了将library以及它依赖的library一起打包成一个完整aar的解决方案,支持AGP 3.0及以上。(目前测试的版本范围是AGP 3.0 - 7.1.0,Gradle 4.9 - 7.3) |
6 | 6 |
|
7 | 7 | ## 如何使用 |
8 | 8 |
|
9 | 9 | #### 第一步: Apply classpath |
10 | 10 | ##### 添加以下代码到你工程根目录下的`build.gradle`文件中: |
11 | | -> JCenter于2021.5.1不再提供服务, 如果你使用了JCenter中的版本,建议更改一下包名切换至Maven central, 比如: |
12 | | -'com.kezong:fat-aar:x.x.x' => 'com.github.kezong:fat-aar:x.x.x' |
13 | | -
|
14 | 11 | For Maven Central (The lastest release is available on [Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.kezong/fat-aar)): |
15 | 12 | ```groovy |
16 | 13 | buildscript { |
17 | 14 | repositories { |
18 | 15 | mavenCentral() |
19 | 16 | } |
20 | 17 | dependencies { |
21 | | - classpath 'com.github.kezong:fat-aar:1.3.6' |
22 | | - } |
23 | | -} |
24 | | -``` |
25 | | -~~For JCenter (Deprecated, before 1.3.4):~~ |
26 | | -```groovy |
27 | | -buildscript { |
28 | | - repositories { |
29 | | - jcenter() |
30 | | - } |
31 | | - dependencies { |
32 | | - classpath 'com.kezong:fat-aar:1.3.3' |
| 18 | + classpath 'com.github.kezong:fat-aar:1.3.7' |
33 | 19 | } |
34 | 20 | } |
35 | 21 | ``` |
@@ -152,13 +138,15 @@ AAR是Android提供的一种官方文件形式; |
152 | 138 | | 1.2.18+ | 3.0.0 - 4.1.0 | 4.9 - 6.8 | |
153 | 139 | | 1.3.+ | 3.0.0 - 4.1.0 | 4.9 - 6.8 | |
154 | 140 | | 1.3.4 | 3.0.0 - 4.1.0 | 4.9+ | |
| 141 | +| 1.3.6 | 3.0.0 - 4.2.0 | 4.9+ | |
| 142 | +| 1.3.7 | 3.0.0+ | 4.9+ | |
155 | 143 |
|
156 | 144 | [Gradle Plugin和所需求的Gradle版本官方文档](https://developer.android.google.cn/studio/releases/gradle-plugin.html) |
157 | 145 |
|
158 | 146 | ## 更新日志 |
159 | | -- [1.3.6](<https://github.com/kezong/fat-aar-android/releases/tag/v1.3.6>) |
160 | | - - 支持AGP 4.2.0 [#290](https://github.com/kezong/fat-aar-android/issues/290) [#304](https://github.com/kezong/fat-aar-android/issues/304) |
161 | | - - 处理'navigation'资源. [#296](https://github.com/kezong/fat-aar-android/issues/296) |
| 147 | +- [1.3.7](<https://github.com/kezong/fat-aar-android/releases/tag/v1.3.7>) |
| 148 | + - Fix productFlavor detection in embed submodules [#348](https://github.com/kezong/fat-aar-android/issues/348) |
| 149 | + - Support missingDimensionStrategy without productFlavors in current project. [#343](https://github.com/kezong/fat-aar-android/issues/343) |
162 | 150 | - [1.3.5](<https://github.com/kezong/fat-aar-android/releases/tag/v1.3.5>) |
163 | 151 | - 修复在仅有jar工程时jar无法合并的问题. [#255](https://github.com/kezong/fat-aar-android/issues/255) [#288](https://github.com/kezong/fat-aar-android/issues/288) |
164 | 152 | - 修复在使用Gradle 6.0-6.8时的编译错误. [#277](https://github.com/kezong/fat-aar-android/issues/277) |
|
0 commit comments