Skip to content

Commit 4a17836

Browse files
committed
update README
1 parent 9f1a8b0 commit 4a17836

2 files changed

Lines changed: 13 additions & 35 deletions

File tree

README.md

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,34 +5,20 @@
55

66
- [中文文档](./README_CN.md)
77

8-
The solution of merging aar works with [AGP][3] `3.0` and higher. (Tested in AGP 3.0 - 4.2.0, and Gradle 4.9 - 6.8)
8+
The solution of merging aar works with [AGP][3] `3.0` and higher. (Tested in AGP 3.0 - 7.1.0, and Gradle 4.9 - 7.3)
99

1010
## Getting Started
1111

1212
### Step 1: Add classpath
1313
#### Add snippet below to your root build script file:
14-
> JCenter services will be deprecated on May 1st 2021, if you are using the version in JCenter, it is recommended to rename the group name and switch to Maven Central. Like this:
15-
'com.kezong:fat-aar:x.x.x' => 'com.github.kezong:fat-aar:x.x.x'
16-
1714
For Maven Central (The lastest release is available on [Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.kezong/fat-aar)):
1815
```groovy
1916
buildscript {
2017
repositories {
2118
mavenCentral()
2219
}
2320
dependencies {
24-
classpath 'com.github.kezong:fat-aar:1.3.6'
25-
}
26-
}
27-
```
28-
~~For JCenter (Deprecated, before 1.3.4):~~
29-
```groovy
30-
buildscript {
31-
repositories {
32-
jcenter()
33-
}
34-
dependencies {
35-
classpath 'com.kezong:fat-aar:1.3.3'
21+
classpath 'com.github.kezong:fat-aar:1.3.7'
3622
}
3723
}
3824
```
@@ -140,12 +126,16 @@ See [anatomy of an aar file here][2].
140126
| 1.3.+ | 3.0.0 - 4.1.0 | 4.9 - 6.8 |
141127
| 1.3.4 - 1.3.5 | 3.0.0 - 4.1.0 | 4.9+ |
142128
| 1.3.6 | 3.0.0 - 4.2.0 | 4.9+ |
129+
| 1.3.7 | 3.0.0+ | 4.9+ |
143130

144131
The following link which version of Gradle is required for each version of the Android Gradle plugin. For the best performance, you should use the latest possible version of both Gradle and the plugin.
145132

146133
[Plugin version and Required Gradle version](https://developer.android.google.cn/studio/releases/gradle-plugin.html)
147134

148135
## Version Log
136+
- [1.3.7](<https://github.com/kezong/fat-aar-android/releases/tag/v1.3.7>)
137+
- Fix productFlavor detection in embed submodules [#348](https://github.com/kezong/fat-aar-android/issues/348)
138+
- Support missingDimensionStrategy without productFlavors in current project. [#343](https://github.com/kezong/fat-aar-android/issues/343)
149139
- [1.3.6](<https://github.com/kezong/fat-aar-android/releases/tag/v1.3.6>)
150140
- Support AGP 4.2.0 [#290](https://github.com/kezong/fat-aar-android/issues/290) [#304](https://github.com/kezong/fat-aar-android/issues/304)
151141
- Copy 'navigation' along with other R.$ classes. [#296](https://github.com/kezong/fat-aar-android/issues/296)

README_CN.md

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,20 @@
22
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/kezong/fat-aar-android/blob/master/LICENSE)
33
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.kezong/fat-aar/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.kezong/fat-aar)
44

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
66

77
## 如何使用
88

99
#### 第一步: Apply classpath
1010
##### 添加以下代码到你工程根目录下的`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-
1411
For Maven Central (The lastest release is available on [Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.kezong/fat-aar)):
1512
```groovy
1613
buildscript {
1714
repositories {
1815
mavenCentral()
1916
}
2017
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'
3319
}
3420
}
3521
```
@@ -152,13 +138,15 @@ AAR是Android提供的一种官方文件形式;
152138
| 1.2.18+ | 3.0.0 - 4.1.0 | 4.9 - 6.8 |
153139
| 1.3.+ | 3.0.0 - 4.1.0 | 4.9 - 6.8 |
154140
| 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+ |
155143

156144
[Gradle Plugin和所需求的Gradle版本官方文档](https://developer.android.google.cn/studio/releases/gradle-plugin.html)
157145

158146
## 更新日志
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)
162150
- [1.3.5](<https://github.com/kezong/fat-aar-android/releases/tag/v1.3.5>)
163151
- 修复在仅有jar工程时jar无法合并的问题. [#255](https://github.com/kezong/fat-aar-android/issues/255) [#288](https://github.com/kezong/fat-aar-android/issues/288)
164152
- 修复在使用Gradle 6.0-6.8时的编译错误. [#277](https://github.com/kezong/fat-aar-android/issues/277)

0 commit comments

Comments
 (0)