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
|
|
|
|
2018-11-30 21:12:57 +01:00
|
|
|
def keystorePropertiesFile = rootProject.file("keystore.properties")
|
|
|
|
def keystoreProperties = new Properties()
|
2019-12-19 22:03:27 +01:00
|
|
|
if (keystorePropertiesFile.exists()) {
|
|
|
|
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
|
|
|
}
|
2018-11-30 21:12:57 +01:00
|
|
|
|
2016-12-09 19:24:09 +01:00
|
|
|
android {
|
2022-10-03 20:04:26 +02:00
|
|
|
compileSdkVersion 33
|
2016-12-09 23:15:08 +01:00
|
|
|
|
2016-12-09 19:24:09 +01:00
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.simplemobiletools.thankyou"
|
2018-11-30 21:00:11 +01:00
|
|
|
minSdkVersion 21
|
2022-10-03 20:04:26 +02:00
|
|
|
targetSdkVersion 33
|
2022-10-03 20:44:29 +02:00
|
|
|
versionCode 28
|
|
|
|
versionName "5.7.0"
|
2017-11-28 19:08:48 +01:00
|
|
|
setProperty("archivesBaseName", "thank-you")
|
2016-12-09 19:24:09 +01:00
|
|
|
}
|
2016-12-09 23:15:08 +01:00
|
|
|
|
|
|
|
signingConfigs {
|
2019-12-19 22:03:27 +01:00
|
|
|
if (keystorePropertiesFile.exists()) {
|
|
|
|
release {
|
|
|
|
keyAlias keystoreProperties['keyAlias']
|
|
|
|
keyPassword keystoreProperties['keyPassword']
|
|
|
|
storeFile file(keystoreProperties['storeFile'])
|
|
|
|
storePassword keystoreProperties['storePassword']
|
|
|
|
}
|
2018-11-30 21:12:57 +01:00
|
|
|
}
|
2016-12-09 23:15:08 +01:00
|
|
|
}
|
|
|
|
|
2016-12-09 19:24:09 +01:00
|
|
|
buildTypes {
|
2018-01-30 22:03:35 +01:00
|
|
|
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'
|
2019-12-22 22:59:06 +01:00
|
|
|
if (keystorePropertiesFile.exists()) {
|
|
|
|
signingConfig signingConfigs.release
|
|
|
|
}
|
2016-12-09 19:24:09 +01:00
|
|
|
}
|
|
|
|
}
|
2016-12-09 20:04:30 +01:00
|
|
|
|
2022-01-31 23:18:22 +01:00
|
|
|
flavorDimensions "variants"
|
|
|
|
productFlavors {
|
|
|
|
core {}
|
|
|
|
fdroid {}
|
|
|
|
}
|
|
|
|
|
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 {
|
2022-10-03 20:04:26 +02:00
|
|
|
implementation 'com.github.SimpleMobileTools:Simple-Commons:f74a128e2e'
|
2016-12-09 20:04:30 +01:00
|
|
|
}
|