|
1 | 1 | apply plugin: 'com.android.application'
|
2 | 2 |
|
3 | 3 | android {
|
4 |
| - compileSdkVersion 26 |
| 4 | + compileSdkVersion 27 |
5 | 5 | //noinspection GradleDependency
|
6 |
| - buildToolsVersion "26.0.2" |
| 6 | + buildToolsVersion '27.0.3' |
7 | 7 |
|
8 | 8 | defaultConfig {
|
9 | 9 | applicationId "ihsanbal.com.logginginterceptor"
|
10 | 10 | minSdkVersion 14
|
11 | 11 | //noinspection OldTargetApi
|
12 |
| - targetSdkVersion 26 |
| 12 | + targetSdkVersion 27 |
13 | 13 | versionCode 1
|
14 | 14 | versionName "1.0"
|
15 |
| - testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner' |
| 15 | + testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" |
16 | 16 | }
|
17 | 17 |
|
18 | 18 | compileOptions {
|
@@ -41,14 +41,14 @@ dependencies {
|
41 | 41 | implementation 'com.squareup.okhttp3:okhttp:' + rootProject.ext.okhttpVersion
|
42 | 42 | annotationProcessor 'com.google.dagger:dagger-compiler:' + rootProject.ext.daggerVersion
|
43 | 43 | annotationProcessor 'com.jakewharton:butterknife-compiler:' + rootProject.ext.butterKnifeVersion
|
44 |
| - debugCompile 'com.squareup.leakcanary:leakcanary-android:' + rootProject.ext.leakCanaryVersion |
45 |
| - releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:' + rootProject.ext.leakCanaryVersion |
46 |
| - testCompile 'com.squareup.leakcanary:leakcanary-android-no-op:' + rootProject.ext.leakCanaryVersion |
47 |
| - provided 'javax.annotation:jsr250-api:1.0' |
| 44 | + debugImplementation 'com.squareup.leakcanary:leakcanary-android:' + rootProject.ext.leakCanaryVersion |
| 45 | + releaseApi 'com.squareup.leakcanary:leakcanary-android-no-op:' + rootProject.ext.leakCanaryVersion |
| 46 | + testImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:' + rootProject.ext.leakCanaryVersion |
| 47 | + compileOnly 'javax.annotation:jsr250-api:1.0' |
48 | 48 | implementation (project(':lib')) {
|
49 | 49 | exclude group: 'org.json', module: 'json'
|
50 | 50 | }
|
51 |
| - androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2', { |
52 |
| - exclude group: 'com.android.support', module: 'support-annotations' |
53 |
| - } |
| 51 | + androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' |
| 52 | + androidTestImplementation 'com.android.support.test:runner:1.0.2' |
| 53 | + androidTestImplementation 'com.android.support.test:rules:1.0.2' |
54 | 54 | }
|
0 commit comments