Last active
September 6, 2018 13:16
-
-
Save nksaroj/dd9209ab4647d7c388f862abefa21634 to your computer and use it in GitHub Desktop.
Kotlin DSL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id("com.android.application") | |
kotlin("android") | |
kotlin("android.extensions") | |
} | |
android { | |
compileSdkVersion(28) | |
defaultConfig { | |
applicationId = "sk.android.com.kotlindsl" | |
minSdkVersion(15) | |
targetSdkVersion(28) | |
versionCode = 1 | |
versionName = "1.0" | |
testInstrumentationRunner = "android.support.test.runner.AndroidJUnitRunner" | |
} | |
buildTypes { | |
getByName("release") { | |
isMinifyEnabled = true | |
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro") | |
} | |
} | |
} | |
dependencies { | |
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar")))) | |
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.2.61") | |
implementation("androidx.appcompat:appcompat:1.0.0-rc02") | |
implementation("androidx.constraintlayout:constraintlayout:2.0.0-alpha2") | |
testImplementation("junit:junit:4.12") | |
androidTestImplementation("androidx.test:runner:1.1.0-alpha4") | |
androidTestImplementation("androidx.test.espresso:espresso-core:3.1.0-alpha4") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment