2016-08-06 21:47:05 +02:00
|
|
|
apply plugin: 'com.android.application'
|
2016-08-06 22:44:26 +02:00
|
|
|
apply plugin: 'kotlin-android'
|
2016-08-06 23:33:07 +02:00
|
|
|
apply plugin: 'kotlin-android-extensions'
|
2016-08-06 21:47:05 +02:00
|
|
|
|
2018-11-30 21:37:49 +01:00
|
|
|
def keystorePropertiesFile = rootProject.file("keystore.properties")
|
|
|
|
def keystoreProperties = new Properties()
|
2019-12-19 22:02:09 +01:00
|
|
|
if (keystorePropertiesFile.exists()) {
|
|
|
|
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
|
|
|
}
|
2018-11-30 21:37:49 +01:00
|
|
|
|
2016-08-06 21:47:05 +02:00
|
|
|
android {
|
2022-06-06 23:27:46 +02:00
|
|
|
compileSdkVersion 31
|
2016-08-06 21:47:05 +02:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.simplemobiletools.applauncher"
|
2018-10-14 22:29:17 +02:00
|
|
|
minSdkVersion 21
|
2022-06-06 23:27:46 +02:00
|
|
|
targetSdkVersion 31
|
2022-06-07 10:50:58 +02:00
|
|
|
versionCode 42
|
|
|
|
versionName "5.9.0"
|
2017-11-11 10:57:51 +01:00
|
|
|
multiDexEnabled true
|
2017-11-10 21:59:19 +01:00
|
|
|
setProperty("archivesBaseName", "app-launcher")
|
2016-08-06 21:47:05 +02:00
|
|
|
}
|
2016-08-18 22:38:09 +02:00
|
|
|
|
|
|
|
signingConfigs {
|
2019-12-19 22:02:09 +01:00
|
|
|
if (keystorePropertiesFile.exists()) {
|
|
|
|
release {
|
|
|
|
keyAlias keystoreProperties['keyAlias']
|
|
|
|
keyPassword keystoreProperties['keyPassword']
|
|
|
|
storeFile file(keystoreProperties['storeFile'])
|
|
|
|
storePassword keystoreProperties['storePassword']
|
|
|
|
}
|
2018-11-30 21:37:49 +01:00
|
|
|
}
|
2016-08-18 22:38:09 +02:00
|
|
|
}
|
|
|
|
|
2016-08-06 21:47:05 +02:00
|
|
|
buildTypes {
|
2018-01-31 00:06:21 +03:00
|
|
|
debug {
|
|
|
|
applicationIdSuffix ".debug"
|
|
|
|
}
|
2016-08-06 21:47:05 +02:00
|
|
|
release {
|
2016-08-18 22:38:09 +02:00
|
|
|
minifyEnabled true
|
2016-08-06 21:47:05 +02:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
2019-12-22 22:55:30 +01:00
|
|
|
if (keystorePropertiesFile.exists()) {
|
|
|
|
signingConfig signingConfigs.release
|
|
|
|
}
|
2016-08-06 21:47:05 +02:00
|
|
|
}
|
|
|
|
}
|
2017-11-11 10:57:51 +01:00
|
|
|
|
2022-01-31 22:49:04 +01:00
|
|
|
flavorDimensions "variants"
|
|
|
|
productFlavors {
|
|
|
|
core {}
|
|
|
|
fdroid {}
|
2022-06-08 10:21:47 +02:00
|
|
|
prepaid {}
|
2022-01-31 22:49:04 +01:00
|
|
|
}
|
|
|
|
|
2016-08-06 22:44:26 +02:00
|
|
|
sourceSets {
|
|
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
|
|
}
|
2017-11-11 10:57:51 +01:00
|
|
|
|
|
|
|
lintOptions {
|
|
|
|
checkReleaseBuilds false
|
|
|
|
abortOnError false
|
|
|
|
}
|
2016-08-06 21:47:05 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2022-06-07 09:47:39 +02:00
|
|
|
implementation 'com.github.SimpleMobileTools:Simple-Commons:faa6a972c2'
|
2019-03-10 20:00:22 +01:00
|
|
|
implementation 'androidx.multidex:multidex:2.0.1'
|
2020-08-20 10:08:58 +02:00
|
|
|
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
|
2016-08-06 22:44:26 +02:00
|
|
|
}
|