Skip to content

Commit b10af2f

Browse files
committed
Update Gradle & Kotlin & SDK version, and make the library stop supporting below API 14
1 parent dee978b commit b10af2f

File tree

5 files changed

+17
-31
lines changed

5 files changed

+17
-31
lines changed

.idea/misc.xml

Lines changed: 1 addition & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Library/build.gradle

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,12 @@ tasks.withType(Javadoc).all {
1717
}
1818

1919
android {
20-
compileSdkVersion 25
21-
buildToolsVersion "26.0.0"
20+
compileSdkVersion 27
21+
buildToolsVersion "27.0.3"
2222

2323
defaultConfig {
24-
minSdkVersion 9
25-
targetSdkVersion 25
26-
versionCode 1
27-
versionName "1.0"
24+
minSdkVersion 14
25+
targetSdkVersion 27
2826

2927
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
3028

@@ -43,7 +41,6 @@ dependencies {
4341
exclude group: 'com.android.support', module: 'support-annotations'
4442
})
4543
testCompile 'junit:junit:4.12'
46-
compile 'com.android.support:support-annotations:25.3.1'
4744
compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
4845
}
4946
repositories {

app/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ apply plugin: 'com.android.application'
22
apply plugin: 'kotlin-android'
33

44
android {
5-
compileSdkVersion 25
6-
buildToolsVersion "26.0.0"
5+
compileSdkVersion 27
6+
buildToolsVersion "27.0.3"
77
defaultConfig {
88
applicationId "boxresin.test.android_thread_switcher"
9-
minSdkVersion 9
10-
targetSdkVersion 25
9+
minSdkVersion 14
10+
targetSdkVersion 27
1111
versionCode 1
1212
versionName "1.0"
1313
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
@@ -25,7 +25,7 @@ dependencies {
2525
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
2626
exclude group: 'com.android.support', module: 'support-annotations'
2727
})
28-
compile 'com.android.support:appcompat-v7:25.3.1'
28+
compile 'com.android.support:appcompat-v7:27.0.2'
2929
compile 'com.android.support.constraint:constraint-layout:1.0.2'
3030
testCompile 'junit:junit:4.12'
3131
compile project(':Library')

build.gradle

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22

33
buildscript {
4-
ext.kotlin_version = '1.1.3-2'
4+
ext.kotlin_version = '1.2.10'
55
repositories {
66
jcenter()
7+
google()
78
}
89
dependencies {
9-
classpath 'com.android.tools.build:gradle:2.3.3'
10-
classpath 'com.novoda:bintray-release:0.5.0'
10+
classpath 'com.android.tools.build:gradle:3.0.1'
11+
classpath 'com.novoda:bintray-release:0.7.0'
1112
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1213

1314
// NOTE: Do not place your application dependencies here; they belong
@@ -18,6 +19,7 @@ buildscript {
1819
allprojects {
1920
repositories {
2021
jcenter()
22+
google()
2123
}
2224
}
2325

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Sat Jul 08 01:19:10 KST 2017
1+
#Wed Jan 03 20:18:59 KST 2018
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip

0 commit comments

Comments
 (0)