Skip to content

Commit

Permalink
update dependency scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
gejiaheng committed Nov 8, 2017
1 parent f241016 commit 2cd432e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 15 deletions.
16 changes: 8 additions & 8 deletions matisse/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@ android {
ext.supportLibVersion = '26.1.0'

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
implementation fileTree(dir: 'libs', include: ['*.jar'])

compile "com.android.support:support-v4:${supportLibVersion}"
compile "com.android.support:appcompat-v7:${supportLibVersion}"
compile "com.android.support:support-annotations:${supportLibVersion}"
compile "com.android.support:recyclerview-v7:${supportLibVersion}"
compile 'it.sephiroth.android.library.imagezoom:library:1.0.4'
implementation "com.android.support:support-v4:${supportLibVersion}"
implementation "com.android.support:appcompat-v7:${supportLibVersion}"
implementation "com.android.support:support-annotations:${supportLibVersion}"
implementation "com.android.support:recyclerview-v7:${supportLibVersion}"
implementation 'it.sephiroth.android.library.imagezoom:library:1.0.4'

provided 'com.github.bumptech.glide:glide:3.7.0'
provided 'com.squareup.picasso:picasso:2.5.2'
compileOnly 'com.github.bumptech.glide:glide:3.7.0'
compileOnly 'com.squareup.picasso:picasso:2.5.2'
}

// jcenter configuration for novoda's bintray-release
Expand Down
17 changes: 10 additions & 7 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,16 @@ android {
}
}

ext.supportLibVersion = '26.1.0'

dependencies {
compile project(':matisse')
compile fileTree(dir: 'libs', include: ['*.jar'])
implementation project(':matisse')
implementation fileTree(dir: 'libs', include: ['*.jar'])

compile 'com.android.support:appcompat-v7:26.1.0'
compile 'com.tbruyelle.rxpermissions2:rxpermissions:0.9.1@aar'
compile 'io.reactivex.rxjava2:rxjava:2.0.5'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.squareup.picasso:picasso:2.5.2'
implementation "com.android.support:appcompat-v7:${supportLibVersion}"
implementation "com.android.support:recyclerview-v7:${supportLibVersion}"
implementation 'com.tbruyelle.rxpermissions2:rxpermissions:0.9.1@aar'
implementation 'io.reactivex.rxjava2:rxjava:2.0.5'
implementation 'com.github.bumptech.glide:glide:3.7.0'
implementation 'com.squareup.picasso:picasso:2.5.2'
}

0 comments on commit 2cd432e

Please sign in to comment.