Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
plugins {
id(BuildPlugins.androidApplication)
id(BuildPlugins.kotlinAndroid)
id(BuildPlugins.kotlinAndroidExtensions)
}
android {
compileSdkVersion(AndroidSdk.compile)
defaultConfig {
applicationId = "com.gradle.kotlindsl"
minSdkVersion(AndroidSdk.min)
targetSdkVersion(AndroidSdk.target)
versionCode = 1
versionName = "1.0"
testInstrumentationRunner = "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
getByName("release") {
isMinifyEnabled = false
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
}
}
dependencies {
implementation(Libraries.kotlinStdLib)
implementation(Libraries.appCompat)
implementation(Libraries.ktxCore)
implementation(Libraries.constraintLayout)
testImplementation (TestLibraries.junit4)
androidTestImplementation (TestLibraries.testRunner)
androidTestImplementation (TestLibraries.espresso)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.