diff --git a/sample/build.gradle b/sample/build.gradle index 415f7fd9..3e517687 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -48,25 +48,23 @@ android { } dependencies { - compile fileTree(include: ['*.jar'], dir: 'libs') + api fileTree(include: ['*.jar'], dir: 'libs') androidTestCompile('androidx.test.espresso:espresso-core:3.1.0', { exclude group: 'com.android.support', module: 'support-annotations' }) - compile 'androidx.appcompat:appcompat:1.0.0' - compile 'com.google.android.material:material:1.0.0' + api 'androidx.appcompat:appcompat:1.0.0' + api 'com.google.android.material:material:1.0.0' // compile "com.android.support:support-v4:${SUPPORT_LIB_VERSION}" - testCompile 'junit:junit:4.12' - compile project(':agentweb-core') - compile project(':agentweb-filechooser') + testImplementation 'junit:junit:4.12' implementation 'com.github.Justson:Downloader:v4.1.9' api project(':agentweb-core') api project(':agentweb-filechooser') // implementation 'com.github.Justson:Downloader:v4.1.9' // implementation 'com.github.Justson.AgentWeb:agentweb-core:v4.1.9' // implementation 'com.github.Justson.AgentWeb:agentweb-filechooser:v4.1.9' - debugCompile 'com.squareup.leakcanary:leakcanary-android:1.5.1' - releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1' - testCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1' + debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.5.1' + releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1' + testImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1' // compile files('libs/alipaysdk-20170922.jar') implementation 'us.feras.mdv:markdownview:1.1.0' implementation 'com.lcodecorex:tkrefreshlayout:1.0.7'