Skip to content

Commit 8577ea6

Browse files
committed
chore: fix travis check failed because of there are low level support library depend
1 parent 4bbe11d commit 8577ea6

3 files changed

Lines changed: 12 additions & 11 deletions

File tree

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ buildscript {
4848
allprojects {
4949
repositories {
5050
jcenter()
51+
google()
5152
}
5253
}
5354

demo/build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ android {
1313
buildToolsVersion BUILD_TOOLS_VERSION as String
1414

1515
defaultConfig {
16-
minSdkVersion 11
16+
minSdkVersion 14
1717
targetSdkVersion COMPILE_SDK_VERSION as int
1818
versionCode VERSION_CODE as int
1919
versionName VERSION_NAME as String
@@ -46,12 +46,12 @@ android {
4646
}
4747

4848
dependencies {
49-
compile 'com.android.support:appcompat-v7:25.3.1'
50-
compile 'com.android.support:recyclerview-v7:25.3.1'
51-
compile 'com.android.support:design:25.3.1'
52-
debugCompile 'cn.dreamtobe.threaddebugger:threaddebugger:1.3.3'
53-
releaseCompile 'cn.dreamtobe.threaddebugger:threaddebugger-no-op:1.3.3'
54-
compile project(':library')
49+
implementation 'com.android.support:appcompat-v7:27.1.1'
50+
implementation 'com.android.support:recyclerview-v7:27.1.1'
51+
implementation 'com.android.support:design:27.1.1'
52+
debugImplementation 'cn.dreamtobe.threaddebugger:threaddebugger:1.3.3'
53+
releaseImplementation 'cn.dreamtobe.threaddebugger:threaddebugger-no-op:1.3.3'
54+
implementation project(':library')
5555
// for testing
56-
compile 'com.squareup.okio:okio:1.11.0'
56+
implementation 'com.squareup.okio:okio:1.13.0'
5757
}

library/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ checkstyle {
4949
}
5050

5151
dependencies {
52-
testCompile "junit:junit:4.12"
52+
testImplementation "junit:junit:4.12"
5353
//noinspection GradleDynamicVersion
54-
testCompile "org.mockito:mockito-core:2.+"
55-
testCompile "org.robolectric:robolectric:3.3.2"
54+
testImplementation "org.mockito:mockito-core:2.+"
55+
testImplementation "org.robolectric:robolectric:3.3.2"
5656
}
5757

5858
if (isForUpload2Maven()) {

0 commit comments

Comments
 (0)