Skip to content

Commit c546b08

Browse files
committed
docs: update README
1 parent b74286b commit c546b08

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

README.en.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ In the traditional case, XML is parsed at runtime (via LayoutInflater), while An
1414

1515
1) in build/gradle.
1616

17+
last_version: [![jitpack](https://jitpack.io/v/7hens/android-x2j.svg)](https://jitpack.io/#7hens/android-x2j)
18+
1719
```groovy
1820
buildscript {
1921
repositories {
@@ -33,7 +35,7 @@ buildscript {
3335
apply plugin: 'android-x2j'
3436
```
3537

36-
> Android X2J supports both application and library (plug-in only) modules.
38+
> Android X2J supports both application and library modules.
3739
3840
3) Ok, let's hand it over to Android X2J.
3941

@@ -86,5 +88,3 @@ public class MainActivity extends Activity {
8688
}
8789
```
8890

89-
Note that due to X2C's own limitations, current Android X2J does not support kotlin-kapt.
90-

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ Android X2J(XML to Java)是一个 Gradle 插件,它可以在 APK 编译期
1616

1717
1) 配置根目录的 build/gradle。
1818

19+
last_version: [![jitpack](https://jitpack.io/v/7hens/android-x2j.svg)](https://jitpack.io/#7hens/android-x2j)
20+
1921
```groovy
2022
buildscript {
2123
repositories {
@@ -36,7 +38,7 @@ buildscript {
3638
apply plugin: 'android-x2j'
3739
```
3840

39-
> Android X2J 同时支持 application 和 library(只支持插件化)两种 module 方式。
41+
> Android X2J 同时支持 application 和 library 两种 module 方式。
4042
4143
3) 好了,接下来就交给 Android X2J 吧。
4244

@@ -92,5 +94,4 @@ public class MainActivity extends Activity {
9294
最后,如果你已经使用了 Android X2J 插件然后又想弃坑,这很容易就能做到。
9395
因为它只不过是一个 gradle 插件而已,没有任何侵入性。
9496

95-
!> 注意,目前由于 X2C 自身的限制, Android X2J 并不支持 kotlin-kapt。
9697

0 commit comments

Comments
 (0)