Gradle: use implementation instead of compile

This commit is contained in:
zt515 2017-12-15 00:20:07 +08:00
parent c6aee23bbe
commit 63ced09c99
4 changed files with 16 additions and 15 deletions

View File

@ -32,5 +32,5 @@ compileTestKotlin {
}
dependencies {
testCompile rootProject.ext.deps["junit"]
testImplementation rootProject.ext.deps["junit"]
}

View File

@ -34,7 +34,7 @@ dependencies {
implementation rootProject.ext.deps["appcompat-v7"]
testImplementation rootProject.ext.deps["junit"]
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
}

View File

@ -49,23 +49,24 @@ android {
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
implementation fileTree(include: ['*.jar'], dir: 'libs')
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
testCompile rootProject.ext.deps["junit"]
testImplementation rootProject.ext.deps["junit"]
androidTestImplementation project(path: ':NeoLang')
compile rootProject.ext.deps["kotlin-stdlib"]
implementation rootProject.ext.deps["kotlin-stdlib"]
implementation rootProject.ext.deps["design"]
implementation rootProject.ext.deps["cardview-v7"]
implementation rootProject.ext.deps["appcompat-v7"]
compile 'org.greenrobot:eventbus:3.0.0'
compile 'com.github.wrdlbrnft:modular-adapter:0.2.0.6'
compile 'com.github.wrdlbrnft:sorted-list-adapter:0.2.0.19'
compile 'com.simplecityapps:recyclerview-fastscroll:1.0.16'
compile 'de.psdev.licensesdialog:licensesdialog:1.8.3'
compile 'com.github.GrenderG:Color-O-Matic:1.1.5'
implementation 'org.greenrobot:eventbus:3.0.0'
implementation 'com.github.wrdlbrnft:modular-adapter:0.2.0.6'
implementation 'com.github.wrdlbrnft:sorted-list-adapter:0.2.0.19'
implementation 'com.simplecityapps:recyclerview-fastscroll:1.0.16'
implementation 'de.psdev.licensesdialog:licensesdialog:1.8.3'
implementation 'com.github.GrenderG:Color-O-Matic:1.1.5'
implementation project(':chrome-tabs')
implementation project(path: ':NeoLang')

View File

@ -23,7 +23,7 @@ android {
dependencies {
compile 'com.github.michael-rapp:android-util:1.15.0'
compile rootProject.ext.deps["annotations"]
compile rootProject.ext.deps["appcompat-v7"]
testCompile rootProject.ext.deps["junit"]
implementation rootProject.ext.deps["annotations"]
implementation rootProject.ext.deps["appcompat-v7"]
testImplementation rootProject.ext.deps["junit"]
}