Skip to content

Commit 4306581

Browse files
committed
Gradle version updates + add kotlin plugin
1 parent c5fd66e commit 4306581

File tree

3 files changed

+14
-9
lines changed

3 files changed

+14
-9
lines changed

app/build.gradle

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
plugins {
22
id 'com.android.application'
3+
id 'kotlin-android'
34
}
45

56
android {
6-
compileSdkVersion = 27
7-
buildToolsVersion = '27.0.3'
7+
compileSdkVersion = 28
8+
buildToolsVersion = '28.0.0'
89
defaultConfig {
910
applicationId 'com.jpegkit.app'
1011
minSdkVersion 15
11-
targetSdkVersion 27
12+
targetSdkVersion 28
1213
versionCode 1
1314
versionName '0.2.0'
1415
externalNativeBuild {
@@ -31,5 +32,6 @@ repositories {
3132

3233
dependencies {
3334
implementation project(':jpegkit')
34-
implementation 'com.android.support:appcompat-v7:27.1.1'
35+
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.2.41'
36+
implementation 'com.android.support:appcompat-v7:28.0.0-alpha3'
3537
}

build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ buildscript {
44
jcenter()
55
}
66
dependencies {
7-
classpath 'com.android.tools.build:gradle:3.1.2'
7+
classpath 'com.android.tools.build:gradle:3.1.3'
8+
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.41'
89
}
910
}

jpegkit/build.gradle

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
plugins {
22
id 'com.android.library'
3+
id 'kotlin-android'
34
id 'com.jfrog.bintray' version '1.7.3'
45
id 'com.github.dcendents.android-maven' version '1.5'
56
}
67

78
android {
8-
compileSdkVersion = 27
9-
buildToolsVersion = '27.0.3'
9+
compileSdkVersion = 28
10+
buildToolsVersion = '28.0.0'
1011
defaultConfig {
1112
minSdkVersion 15
12-
targetSdkVersion 27
13+
targetSdkVersion 28
1314
externalNativeBuild {
1415
cmake {
1516
cppFlags ''
@@ -29,7 +30,8 @@ repositories {
2930
}
3031

3132
dependencies {
32-
implementation 'com.android.support:exifinterface:27.1.1'
33+
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.2.41'
34+
implementation 'com.android.support:exifinterface:28.0.0-alpha3'
3335
}
3436

3537
ext.getBintrayUser = { ->

0 commit comments

Comments
 (0)