Commit b7118b32 authored by Filipe de Lima Brito's avatar Filipe de Lima Brito

Add Kotlin plugin and dependency

parent 6ff4aa22
...@@ -21,6 +21,7 @@ ext { ...@@ -21,6 +21,7 @@ ext {
targetSdkVersion = 26 targetSdkVersion = 26
buildToolsVersion = "26.0.0" buildToolsVersion = "26.0.0"
supportLibraryVersion = "25.4.0" supportLibraryVersion = "25.4.0"
kotlinVersion = "1.1.3"
} }
task clean(type: Delete) { task clean(type: Delete) {
......
apply plugin: 'com.android.library' apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
buildscript { buildscript {
repositories { repositories {
jcenter() jcenter()
mavenCentral()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.3.3' classpath 'com.android.tools.build:gradle:2.3.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$rootProject.ext.kotlinVersion"
} }
} }
...@@ -44,6 +47,8 @@ dependencies { ...@@ -44,6 +47,8 @@ dependencies {
compile "com.android.support:support-v13:$rootProject.ext.supportLibraryVersion" compile "com.android.support:support-v13:$rootProject.ext.supportLibraryVersion"
compile "com.android.support:design:$rootProject.ext.supportLibraryVersion" compile "com.android.support:design:$rootProject.ext.supportLibraryVersion"
compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$rootProject.ext.kotlinVersion"
compile 'org.nibor.autolink:autolink:0.6.0' compile 'org.nibor.autolink:autolink:0.6.0'
compile 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1' compile 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment