Skip to content

Commit 8de1384

Browse files
committed
[DEV] Bump min sdk from 9 to 14, target sdk 25 to 26, support libs 25.2.0 to 26.1.0
1 parent ddcd4ff commit 8de1384

File tree

3 files changed

+23
-13
lines changed

3 files changed

+23
-13
lines changed

build.gradle

+8
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
buildscript {
44
repositories {
55
jcenter()
6+
maven {
7+
url 'https://maven.google.com/'
8+
name 'Google'
9+
}
610
}
711
dependencies {
812
classpath 'com.android.tools.build:gradle:2.3.2'
@@ -15,6 +19,10 @@ buildscript {
1519
allprojects {
1620
repositories {
1721
jcenter()
22+
maven {
23+
url 'https://maven.google.com/'
24+
name 'Google'
25+
}
1826
}
1927
}
2028

sample/build.gradle

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
compileSdkVersion 25
5-
buildToolsVersion "25.0.0"
4+
compileSdkVersion 26
5+
buildToolsVersion "26.0.1"
66
defaultConfig {
77
applicationId "com.example.smartrecycleradapter"
8-
minSdkVersion 9
9-
targetSdkVersion 25
8+
minSdkVersion 14
9+
targetSdkVersion 26
1010
versionCode 1
1111
versionName "1.0"
1212
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
@@ -28,9 +28,10 @@ dependencies {
2828
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
2929
exclude group: 'com.android.support', module: 'support-annotations'
3030
})
31-
compile 'com.android.support:appcompat-v7:25.2.0'
32-
compile 'com.android.support.constraint:constraint-layout:1.0.0-beta4'
3331
testCompile 'junit:junit:4.12'
34-
compile 'com.android.support:recyclerview-v7:25.2.0'
32+
33+
compile 'com.android.support.constraint:constraint-layout:1.0.0-beta4'
34+
compile 'com.android.support:appcompat-v7:26.1.0'
35+
compile 'com.android.support:recyclerview-v7:26.1.0'
3536
compile project(':smartadapter')
3637
}

smartadapter/build.gradle

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
apply plugin: 'com.android.library'
22

33
android {
4-
compileSdkVersion 25
5-
buildToolsVersion "25.0.0"
4+
compileSdkVersion 26
5+
buildToolsVersion "26.0.1"
66

77
defaultConfig {
8-
minSdkVersion 9
9-
targetSdkVersion 25
8+
minSdkVersion 14
9+
targetSdkVersion 26
1010
versionCode 1
1111
versionName "1.0"
1212

@@ -26,7 +26,8 @@ dependencies {
2626
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
2727
exclude group: 'com.android.support', module: 'support-annotations'
2828
})
29-
compile 'com.android.support:appcompat-v7:25.2.0'
3029
testCompile 'junit:junit:4.12'
31-
compile 'com.android.support:recyclerview-v7:25.2.0'
30+
31+
compile 'com.android.support:appcompat-v7:26.1.0'
32+
compile 'com.android.support:recyclerview-v7:26.1.0'
3233
}

0 commit comments

Comments
 (0)