7aa195b017
Currently "compile" is used when adding kotlin dependencies to build scripts, which is deprecated.
36 lines
827 B
Groovy
Vendored
36 lines
827 B
Groovy
Vendored
buildscript {
|
|
ext.kotlin_version = '$VERSION$'
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:0.5.+'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
}
|
|
repositories {
|
|
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
|
|
mavenCentral()
|
|
}
|
|
}
|
|
apply plugin: 'android'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
|
|
}
|
|
|
|
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"
|
|
}
|
|
|
|
// VERSION: $VERSION$
|