Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
jenly1314 committed Nov 18, 2019
1 parent b830b89 commit 26d60ae
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ allprojects {
## 引入的库:
```gradle
//AndroidX
compileOnly 'androidx.appcompat:appcompat:1.0.0+'
api 'androidx.appcompat:appcompat:1.1.0'
api 'com.google.zxing:core:3.3.3'
//Android
compileOnly 'com.android.support:appcompat-v7:28.0.0'
api 'com.android.support:appcompat-v7:28.0.0'
api 'com.google.zxing:core:3.3.3'
```

Expand Down Expand Up @@ -162,9 +162,9 @@ api 'com.google.zxing:core:3.3.3'

## 版本记录

#### v1.1.4:2019-11-15
* 内置手电筒按钮,当光线太暗时,自动显示手电筒 fix(#58)
* 生成二维码时Logo支持自定义大小 fix(#62)
#### v1.1.4:2019-11-18
* 内置手电筒按钮,当光线太暗时,自动显示手电筒 (fix#58)
* 生成二维码时Logo支持自定义大小 (fix#62)

#### v1.1.3:2019-9-24
* 支持真实识别区域比例和识别区域偏移量可配置
Expand Down
2 changes: 1 addition & 1 deletion lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ dependencies {
androidTestImplementation deps.test.runner
androidTestImplementation deps.test.espresso

compileOnly deps.support.appcompat
api deps.support.appcompat
api deps.zxing
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@

import com.king.zxing.Preferences;

@SuppressWarnings("deprecation") // camera APIs
final class AutoFocusManager implements Camera.AutoFocusCallback {

private static final String TAG = AutoFocusManager.class.getSimpleName();
Expand Down
9 changes: 5 additions & 4 deletions versions.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ ext.deps = [:]

// App dependencies
def versions = [:]
//support
versions.supportLibrary = "1.0.0+"
//AndroidX
versions.material = "1.2.0-alpha01"
versions.appcompat = "1.1.0"
versions.constraintLayout = "1.1.3"

//test
Expand All @@ -35,8 +36,8 @@ ext.versions = versions

//support
def support = [:]
support.design = "com.google.android.material:material:$versions.supportLibrary"
support.appcompat = "androidx.appcompat:appcompat:$versions.supportLibrary"
support.design = "com.google.android.material:material:$versions.material"
support.appcompat = "androidx.appcompat:appcompat:$versions.appcompat"
support.constraintlayout = "androidx.constraintlayout:constraintlayout:$versions.constraintLayout"
deps.support = support

Expand Down

0 comments on commit 26d60ae

Please sign in to comment.