Skip to content

Commit f6c20c6

Browse files
Replace compile with implementation
1 parent 89422fe commit f6c20c6

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

android-mvvm/build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ android {
4040
}
4141

4242
dependencies {
43-
compile fileTree(dir: 'libs', include: ['*.jar'])
44-
testCompile 'junit:junit:4.12'
45-
androidTestCompile 'com.android.support.test:runner:0.5'
46-
androidTestCompile 'com.android.support.test:rules:0.5'
47-
compile "io.reactivex.rxjava2:rxjava:2.0.7"
48-
compile 'io.reactivex.rxjava2:rxandroid:2.0.1'
49-
compile 'com.android.support:recyclerview-v7:27.1.1'
50-
compile 'com.android.support:appcompat-v7:27.1.1'
43+
implementation fileTree(dir: 'libs', include: ['*.jar'])
44+
testImplementation 'junit:junit:4.12'
45+
androidTestImplementation 'com.android.support.test:runner:0.5'
46+
androidTestImplementation 'com.android.support.test:rules:0.5'
47+
api "io.reactivex.rxjava2:rxjava:2.0.7"
48+
api 'io.reactivex.rxjava2:rxandroid:2.0.1'
49+
api 'com.android.support:recyclerview-v7:27.1.1'
50+
api 'com.android.support:appcompat-v7:27.1.1'
5151
}
5252

5353
apply from: file('bintray-push.gradle')

rxjava-compat/build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ android {
3535
}
3636

3737
dependencies {
38-
compile fileTree(dir: 'libs', include: ['*.jar'])
39-
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
38+
implementation fileTree(dir: 'libs', include: ['*.jar'])
39+
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
4040
exclude group: 'com.android.support', module: 'support-annotations'
4141
})
42-
compile 'com.android.support:appcompat-v7:27.1.1'
43-
compile "com.github.akarnokd:rxjava2-interop:0.9.3"
44-
compile 'io.reactivex:rxjava:1.2.7'
45-
compile project(':android-mvvm')
46-
testCompile 'junit:junit:4.12'
42+
implementation 'com.android.support:appcompat-v7:27.1.1'
43+
implementation "com.github.akarnokd:rxjava2-interop:0.9.3"
44+
api 'io.reactivex:rxjava:1.2.7'
45+
implementation project(':android-mvvm')
46+
testImplementation 'junit:junit:4.12'
4747
}
4848
apply from: file('bintray-push.gradle')

sample/build.gradle

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@ android {
3434
}
3535

3636
dependencies {
37-
compile fileTree(dir: 'libs', include: ['*.jar'])
38-
testCompile 'junit:junit:4.12'
39-
compile 'com.android.support:appcompat-v7:27.1.1'
40-
compile project(':android-mvvm')
41-
compile project(':rxjava-compat')
37+
implementation fileTree(dir: 'libs', include: ['*.jar'])
38+
testImplementation 'junit:junit:4.12'
39+
implementation 'com.android.support:appcompat-v7:27.1.1'
40+
implementation project(':android-mvvm')
41+
implementation project(':rxjava-compat')
4242

43-
compile 'io.reactivex.rxjava2:rxandroid:2.0.1'
43+
implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
4444

4545
// Leak Canary
46-
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.4'
47-
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4'
48-
testCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4'
46+
debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.4'
47+
releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.4'
48+
testImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.4'
4949
}

0 commit comments

Comments
 (0)