2023-07-01 11:27:11 +10:00
|
|
|
plugins {
|
|
|
|
id 'com.android.application'
|
|
|
|
id 'kotlin-android'
|
|
|
|
id 'kotlin-android-extensions'
|
2023-07-05 11:02:32 +10:00
|
|
|
id 'org.jetbrains.kotlin.plugin.serialization' version "$kotlin_version"
|
2023-07-01 11:27:11 +10:00
|
|
|
}
|
2020-05-06 21:38:19 +02:00
|
|
|
|
2020-05-12 23:07:34 +02:00
|
|
|
def keystorePropertiesFile = rootProject.file("keystore.properties")
|
|
|
|
def keystoreProperties = new Properties()
|
|
|
|
if (keystorePropertiesFile.exists()) {
|
|
|
|
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
|
|
|
}
|
|
|
|
|
2020-05-06 21:38:19 +02:00
|
|
|
android {
|
2022-09-02 23:06:41 +02:00
|
|
|
compileSdkVersion 33
|
2020-05-06 21:38:19 +02:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.simplemobiletools.dialer"
|
|
|
|
minSdkVersion 23
|
2022-09-02 23:06:41 +02:00
|
|
|
targetSdkVersion 33
|
2023-06-08 17:31:38 +02:00
|
|
|
versionCode 56
|
|
|
|
versionName "5.18.0"
|
2020-05-06 21:48:03 +02:00
|
|
|
setProperty("archivesBaseName", "dialer")
|
2020-05-06 21:38:19 +02:00
|
|
|
}
|
|
|
|
|
2020-05-12 23:07:34 +02:00
|
|
|
signingConfigs {
|
|
|
|
if (keystorePropertiesFile.exists()) {
|
|
|
|
release {
|
|
|
|
keyAlias keystoreProperties['keyAlias']
|
|
|
|
keyPassword keystoreProperties['keyPassword']
|
|
|
|
storeFile file(keystoreProperties['storeFile'])
|
|
|
|
storePassword keystoreProperties['storePassword']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-06 21:38:19 +02:00
|
|
|
buildTypes {
|
2020-05-06 21:48:03 +02:00
|
|
|
debug {
|
|
|
|
applicationIdSuffix ".debug"
|
|
|
|
}
|
2020-05-06 21:38:19 +02:00
|
|
|
release {
|
2020-05-06 21:48:03 +02:00
|
|
|
minifyEnabled true
|
2020-05-12 23:07:34 +02:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
if (keystorePropertiesFile.exists()) {
|
|
|
|
signingConfig signingConfigs.release
|
|
|
|
}
|
2020-05-06 21:38:19 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-02 22:39:15 +01:00
|
|
|
flavorDimensions "variants"
|
|
|
|
productFlavors {
|
|
|
|
core {}
|
|
|
|
fdroid {}
|
2022-07-04 22:24:40 +02:00
|
|
|
prepaid {}
|
2022-02-02 22:39:15 +01:00
|
|
|
}
|
|
|
|
|
2020-05-06 21:38:19 +02:00
|
|
|
sourceSets {
|
|
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
|
|
}
|
2020-05-06 21:48:03 +02:00
|
|
|
|
|
|
|
lintOptions {
|
|
|
|
checkReleaseBuilds false
|
|
|
|
abortOnError false
|
|
|
|
}
|
2020-05-06 21:38:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-06-30 10:27:17 +02:00
|
|
|
implementation 'com.github.SimpleMobileTools:Simple-Commons:35d685c042'
|
2021-11-28 08:48:36 +01:00
|
|
|
implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61'
|
2022-06-27 10:04:30 +02:00
|
|
|
implementation 'me.grantland:autofittextview:0.2.1'
|
2023-07-05 11:02:32 +10:00
|
|
|
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1"
|
2020-05-06 21:38:19 +02:00
|
|
|
}
|