7aa195b017
Currently "compile" is used when adding kotlin dependencies to build scripts, which is deprecated.
30 lines
590 B
Groovy
Vendored
30 lines
590 B
Groovy
Vendored
apply plugin: 'android'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 17
|
|
buildToolsVersion "17.0.0"
|
|
|
|
defaultConfig {
|
|
minSdkVersion 7
|
|
targetSdkVersion 16
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile 'com.android.support:support-v4:13.0.0'
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
}
|
|
buildscript {
|
|
ext.kotlin_version = '$VERSION$'
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
}
|
|
} |