@@ -26,11 +26,12 @@ buildscript {
26
26
27
27
repositories {
28
28
jcenter()
29
+ google()
29
30
maven { url ' https://plugins.gradle.org/m2/' }
30
31
}
31
32
32
33
dependencies {
33
- classpath ' com.android.tools.build:gradle:2.3.3 '
34
+ classpath ' com.android.tools.build:gradle:3.0.0-alpha4 '
34
35
classpath ' com.dicedmelon.gradle:jacoco-android:0.1.2'
35
36
classpath ' gradle.plugin.com.nimbledroid:gradle-profiler:1.1.3'
36
37
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion "
@@ -40,7 +41,7 @@ buildscript {
40
41
allprojects {
41
42
repositories {
42
43
jcenter()
43
- mavenLocal ()
44
+ google ()
44
45
}
45
46
}
46
47
@@ -64,7 +65,7 @@ subprojects {
64
65
65
66
android {
66
67
compileSdkVersion 25
67
- buildToolsVersion ' 25 .0.3 '
68
+ buildToolsVersion ' 26 .0.0 '
68
69
69
70
defaultConfig {
70
71
minSdkVersion 15
@@ -83,8 +84,8 @@ subprojects {
83
84
}
84
85
85
86
compileOptions {
86
- sourceCompatibility JavaVersion . VERSION_1_7
87
- targetCompatibility JavaVersion . VERSION_1_7
87
+ sourceCompatibility JavaVersion . VERSION_1_8
88
+ targetCompatibility JavaVersion . VERSION_1_8
88
89
}
89
90
90
91
if (isLibrary) {
@@ -106,16 +107,17 @@ subprojects {
106
107
107
108
if (isLibrary) {
108
109
dependencies {
109
- testCompile ' com.google.truth:truth:0.33'
110
- testCompile ' com.nhaarman:mockito-kotlin:1.5.0'
111
- testCompile ' com.squareup.okhttp:mockwebserver:2.7.5'
112
- testCompile ' junit:junit:4.12'
113
- testCompile ' nl.jqno.equalsverifier:equalsverifier:2.3'
114
- testCompile " org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion "
115
- testCompile " org.jetbrains.kotlin:kotlin-test-junit:$kotlinVersion "
116
- testCompile ' org.json:json:20170516'
117
- testCompile ' org.mockito:mockito-core:2.8.47'
118
- testCompile ' org.robolectric:robolectric:3.3.2'
110
+ testImplementation ' com.google.truth:truth:0.33'
111
+ testImplementation ' com.nhaarman:mockito-kotlin:1.5.0'
112
+ testImplementation ' com.squareup.okhttp:mockwebserver:2.7.5'
113
+ testImplementation ' junit:junit:4.12'
114
+ testImplementation ' nl.jqno.equalsverifier:equalsverifier:2.3'
115
+ testImplementation " org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion "
116
+ testImplementation " org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion "
117
+ testImplementation " org.jetbrains.kotlin:kotlin-test-junit:$kotlinVersion "
118
+ testImplementation ' org.json:json:20170516'
119
+ testImplementation ' org.mockito:mockito-core:2.8.47'
120
+ testImplementation ' org.robolectric:robolectric:3.3.2'
119
121
}
120
122
}
121
123
@@ -131,7 +133,7 @@ subprojects {
131
133
}
132
134
133
135
task wrapper (type : Wrapper ) {
134
- gradleVersion = ' 3.3 '
136
+ gradleVersion = ' 4.0 '
135
137
}
136
138
137
139
task clean (type : Delete ) {
0 commit comments