Simple-Contacts/app/build.gradle

44 lines
1023 B
Groovy
Raw Normal View History

2017-12-10 10:16:59 +01:00
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion 27
defaultConfig {
applicationId "com.simplemobiletools.contacts"
2017-12-13 18:08:11 +01:00
minSdkVersion 16
2017-12-10 10:16:59 +01:00
targetSdkVersion 27
versionCode 1
versionName "1.0.0"
2017-12-10 10:38:17 +01:00
setProperty("archivesBaseName", "contacts")
2017-12-10 10:16:59 +01:00
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
2017-12-10 10:38:17 +01:00
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
lintOptions {
checkReleaseBuilds false
abortOnError false
}
2017-12-10 10:16:59 +01:00
}
2017-12-18 12:21:41 +01:00
ext {
leakCanaryVersion = '1.5.4'
}
2017-12-10 10:16:59 +01:00
dependencies {
2017-12-25 13:28:17 +01:00
implementation 'com.simplemobiletools:commons:3.4.2'
2017-12-18 12:21:41 +01:00
debugImplementation "com.squareup.leakcanary:leakcanary-android:$leakCanaryVersion"
releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$leakCanaryVersion"
2017-12-10 10:16:59 +01:00
}