diff --git a/matisse/build.gradle b/matisse/build.gradle index 026e6640b..7d27f77ab 100644 --- a/matisse/build.gradle +++ b/matisse/build.gradle @@ -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 diff --git a/sample/build.gradle b/sample/build.gradle index 6d2ace6da..fddf353c7 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -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' }