Simple-Thank-You/app/build.gradle

55 lines
1.4 KiB
Groovy
Raw Normal View History

2016-12-09 19:24:09 +01:00
apply plugin: 'com.android.application'
2016-12-09 20:04:30 +01:00
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
2016-12-09 19:24:09 +01:00
def keystorePropertiesFile = rootProject.file("keystore.properties")
def keystoreProperties = new Properties()
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
2016-12-09 19:24:09 +01:00
android {
2018-10-09 18:54:28 +02:00
compileSdkVersion 28
buildToolsVersion "28.0.3"
2016-12-09 23:15:08 +01:00
2016-12-09 19:24:09 +01:00
defaultConfig {
applicationId "com.simplemobiletools.thankyou"
minSdkVersion 21
2018-10-09 18:54:28 +02:00
targetSdkVersion 28
2018-11-30 21:18:59 +01:00
versionCode 12
versionName "5.0.0"
setProperty("archivesBaseName", "thank-you")
2016-12-09 19:24:09 +01:00
}
2016-12-09 23:15:08 +01:00
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
}
2016-12-09 23:15:08 +01:00
}
2016-12-09 19:24:09 +01:00
buildTypes {
debug {
applicationIdSuffix ".debug"
}
2016-12-09 19:24:09 +01:00
release {
2016-12-09 23:15:08 +01:00
minifyEnabled true
2016-12-09 19:24:09 +01:00
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2016-12-09 23:15:08 +01:00
signingConfig signingConfigs.release
2016-12-09 19:24:09 +01:00
}
}
2016-12-09 20:04:30 +01:00
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
2017-10-26 19:00:36 +02:00
lintOptions {
checkReleaseBuilds false
abortOnError false
}
2016-12-09 19:24:09 +01:00
}
dependencies {
2019-03-06 11:45:50 +01:00
implementation 'com.simplemobiletools:commons:5.10.0'
2016-12-09 20:04:30 +01:00
}