Skip to content

Commit

Permalink
Feat: Add Kotlin support
Browse files Browse the repository at this point in the history
  • Loading branch information
ditek committed Jul 7, 2019
1 parent fb6f3f8 commit 7b3128b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ android {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}

packagingOptions {
exclude 'META-INF/library-core_release.kotlin_module'
}
}

dependencies {
Expand Down
21 changes: 21 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,30 @@ buildscript {
}
}

plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.41'
}

allprojects {
repositories {
jcenter()
google()
}
}

repositories {
mavenCentral()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}

0 comments on commit 7b3128b

Please sign in to comment.