Created
October 16, 2019 13:31
-
-
Save enginebai/dfae0ab83b3a4bfbd41e8834e7d8ffe4 to your computer and use it in GitHub Desktop.
Module-level gradle kts file in kotlin
This file contains hidden or 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") | |
id("kotlin-android") | |
id("kotlin-android-extensions") | |
} | |
android { | |
compileSdkVersion(Versions.Android.sdk) | |
defaultConfig { | |
applicationId = Versions.App.id | |
minSdkVersion(Versions.Android.minSdk) | |
targetSdkVersion(Versions.Android.sdk) | |
versionCode = Versions.App.versionCode | |
versionName = Versions.App.versionName | |
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" | |
} | |
buildTypes { | |
getByName("release") { | |
isMinifyEnabled = false | |
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro") | |
} | |
} | |
} | |
dependencies { | |
implementation(fileTree("dir" to "libs", "include" to listOf("*.jar"))) | |
implementation(Dependencies.Kotlin.stdLib) | |
implementation(Dependencies.AndroidX.appCompat) | |
implementation(Dependencies.AndroidX.coreKtx) | |
implementation(Dependencies.AndroidX.constraintLayout) | |
testImplementation(Dependencies.Test.junit) | |
androidTestImplementation(Dependencies.Test.runner) | |
androidTestImplementation(Dependencies.Test.espressoCore) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment