Skip to content

Commit

Permalink
适配Android X
Browse files Browse the repository at this point in the history
  • Loading branch information
罗孟伟 committed Oct 23, 2019
1 parent 0452795 commit f170f9a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ android {
dependencies {
implementation project(':picture_library')
//noinspection GradleCompatible
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation "androidx.appcompat:appcompat:${cfgs.version_appcompat}"
//noinspection GradleCompatible
implementation 'androidx.recyclerview:recyclerview:1.0.0'
implementation "androidx.recyclerview:recyclerview:${cfgs.version_recyclerview}"
implementation "com.github.bumptech.glide:glide:${cfgs.glide}"
implementation "io.reactivex.rxjava2:rxjava:${cfgs.rxjava}"
implementation "io.reactivex.rxjava2:rxandroid:${cfgs.rxandroid}"
Expand Down
5 changes: 4 additions & 1 deletion config.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ ext {
androidSupportVersion: "27.0.2",
glide : "4.9.0",
rxjava : "2.1.3",
rxandroid : "2.0.1"
rxandroid : "2.0.1",
version_recyclerview : "1.0.0",
version_appcompat : "1.0.0"

]
}
4 changes: 2 additions & 2 deletions picture_library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation project(':ucrop')
//noinspection GradleCompatible
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation "androidx.appcompat:appcompat:${cfgs.version_appcompat}"
//noinspection GradleCompatible
implementation 'androidx.recyclerview:recyclerview:1.0.0'
implementation "androidx.recyclerview:recyclerview:${cfgs.version_recyclerview}"
implementation "com.github.bumptech.glide:glide:${cfgs.glide}"
implementation "io.reactivex.rxjava2:rxjava:${cfgs.rxjava}"
implementation "io.reactivex.rxjava2:rxandroid:${cfgs.rxandroid}"
Expand Down
4 changes: 2 additions & 2 deletions ucrop/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ android {

dependencies {
//noinspection GradleCompatible
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation "androidx.appcompat:appcompat:${cfgs.version_appcompat}"
//noinspection GradleCompatible
implementation 'androidx.recyclerview:recyclerview:1.0.0'
implementation "androidx.recyclerview:recyclerview:${cfgs.version_recyclerview}"
implementation "com.github.bumptech.glide:glide:${cfgs.glide}"
}

0 comments on commit f170f9a

Please sign in to comment.