e4da6c268a
^KT-22571 Fixed
49 lines
1.0 KiB
Kotlin
Vendored
49 lines
1.0 KiB
Kotlin
Vendored
|
|
val kotlin_version: String by extra
|
|
buildscript {
|
|
var kotlin_version: String by extra
|
|
kotlin_version = "$VERSION$"
|
|
dependencies {
|
|
classpath("com.android.tools.build:gradle:2.3.1")
|
|
classpath(kotlinModule("gradle-plugin", kotlin_version))
|
|
}
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
}
|
|
|
|
apply {
|
|
plugin("com.android.application")
|
|
plugin("kotlin-android")
|
|
}
|
|
|
|
android {
|
|
buildToolsVersion("25.0.0")
|
|
compileSdkVersion(23)
|
|
|
|
defaultConfig {
|
|
minSdkVersion(15)
|
|
targetSdkVersion(23)
|
|
|
|
applicationId = "com.example.kotlingradle"
|
|
versionCode = 1
|
|
versionName = "1.0"
|
|
}
|
|
|
|
buildTypes {
|
|
getByName("release") {
|
|
isMinifyEnabled = false
|
|
proguardFiles("proguard-rules.pro")
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile("com.android.support:appcompat-v7:23.4.0")
|
|
compile("com.android.support.constraint:constraint-layout:1.0.0-alpha8")
|
|
implementation(kotlinModule("stdlib-jdk7", kotlin_version))
|
|
}
|
|
|
|
repositories {
|
|
jcenter()
|
|
} |