Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
jenly1314 committed May 31, 2022
1 parent a33faf5 commit 7a06d37
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,22 @@ allprojects {

2. 在Module的 **build.gradle** 里面添加引入依赖项


```gradle
//AndroidX 版本
implementation 'com.github.jenly1314:zxing-lite:2.2.0'
```

> 使用 **v2.2.x** 以上版本需要 **targetSdkVersion >= 31**
> 如果 **targetSdkVersion < 31** 请使用 **v2.2.x** 以前的版本
```gradle
//AndroidX 版本
implementation 'com.github.jenly1314:zxing-lite:2.1.1'
```


以前发布至JCenter的版本
```gradle
Expand Down

0 comments on commit 7a06d37

Please sign in to comment.