Skip to content

Commit 40c9fbe

Browse files
committed
build(build.gradle): api
1 parent e9544f7 commit 40c9fbe

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

sample/build.gradle

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,25 +48,23 @@ android {
4848
}
4949

5050
dependencies {
51-
compile fileTree(include: ['*.jar'], dir: 'libs')
51+
api fileTree(include: ['*.jar'], dir: 'libs')
5252
androidTestCompile('androidx.test.espresso:espresso-core:3.1.0', {
5353
exclude group: 'com.android.support', module: 'support-annotations'
5454
})
55-
compile 'androidx.appcompat:appcompat:1.0.0'
56-
compile 'com.google.android.material:material:1.0.0'
55+
api 'androidx.appcompat:appcompat:1.0.0'
56+
api 'com.google.android.material:material:1.0.0'
5757
// compile "com.android.support:support-v4:${SUPPORT_LIB_VERSION}"
58-
testCompile 'junit:junit:4.12'
59-
compile project(':agentweb-core')
60-
compile project(':agentweb-filechooser')
58+
testImplementation 'junit:junit:4.12'
6159
implementation 'com.github.Justson:Downloader:v4.1.9'
6260
api project(':agentweb-core')
6361
api project(':agentweb-filechooser')
6462
// implementation 'com.github.Justson:Downloader:v4.1.9'
6563
// implementation 'com.github.Justson.AgentWeb:agentweb-core:v4.1.9'
6664
// implementation 'com.github.Justson.AgentWeb:agentweb-filechooser:v4.1.9'
67-
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.5.1'
68-
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1'
69-
testCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1'
65+
debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.5.1'
66+
releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1'
67+
testImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1'
7068
// compile files('libs/alipaysdk-20170922.jar')
7169
implementation 'us.feras.mdv:markdownview:1.1.0'
7270
implementation 'com.lcodecorex:tkrefreshlayout:1.0.7'

0 commit comments

Comments
 (0)