7aa195b017
Currently "compile" is used when adding kotlin dependencies to build scripts, which is deprecated.
29 lines
620 B
Groovy
Vendored
29 lines
620 B
Groovy
Vendored
apply plugin: 'android'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
android {
|
|
compileSdkVersion 15
|
|
buildToolsVersion "17.0"
|
|
}
|
|
|
|
//
|
|
// A basic Android application split over a library and a main project.
|
|
//
|
|
dependencies {
|
|
compile project(':lib')
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
}
|
|
|
|
buildscript {
|
|
ext.kotlin_version = '$VERSION$'
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:0.5.+'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
}
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
} |