2020-04-03 10:12:58 +02:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
2020-05-30 18:04:34 +02:00
|
|
|
apply plugin: 'kotlin-kapt'
|
2020-04-03 10:12:58 +02:00
|
|
|
|
2020-04-14 13:52:46 +02:00
|
|
|
def keystorePropertiesFile = rootProject.file("keystore.properties")
|
|
|
|
def keystoreProperties = new Properties()
|
|
|
|
if (keystorePropertiesFile.exists()) {
|
|
|
|
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
|
|
|
}
|
|
|
|
|
2020-04-03 10:12:58 +02:00
|
|
|
android {
|
2022-08-21 20:14:33 +02:00
|
|
|
compileSdkVersion 33
|
2020-04-03 10:12:58 +02:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.simplemobiletools.smsmessenger"
|
2020-05-03 22:06:21 +02:00
|
|
|
minSdkVersion 22
|
2022-08-21 20:14:33 +02:00
|
|
|
targetSdkVersion 33
|
2022-07-10 19:55:34 +02:00
|
|
|
versionCode 60
|
|
|
|
versionName "5.15.0"
|
2020-04-14 13:52:46 +02:00
|
|
|
setProperty("archivesBaseName", "sms-messenger")
|
|
|
|
}
|
|
|
|
|
|
|
|
signingConfigs {
|
|
|
|
if (keystorePropertiesFile.exists()) {
|
|
|
|
release {
|
|
|
|
keyAlias keystoreProperties['keyAlias']
|
|
|
|
keyPassword keystoreProperties['keyPassword']
|
|
|
|
storeFile file(keystoreProperties['storeFile'])
|
|
|
|
storePassword keystoreProperties['storePassword']
|
|
|
|
}
|
|
|
|
}
|
2020-04-03 10:12:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
debug {
|
|
|
|
applicationIdSuffix ".debug"
|
|
|
|
}
|
|
|
|
release {
|
2022-02-10 21:32:30 +01:00
|
|
|
minifyEnabled true
|
2020-04-03 10:12:58 +02:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
2020-04-14 13:52:46 +02:00
|
|
|
if (keystorePropertiesFile.exists()) {
|
|
|
|
signingConfig signingConfigs.release
|
|
|
|
}
|
2020-04-03 10:12:58 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-01-19 19:38:08 +01:00
|
|
|
flavorDimensions "variants"
|
|
|
|
productFlavors {
|
|
|
|
core {}
|
|
|
|
fdroid {}
|
2022-07-01 18:30:07 +02:00
|
|
|
prepaid {}
|
2022-01-19 19:38:08 +01:00
|
|
|
}
|
|
|
|
|
2020-04-03 10:12:58 +02:00
|
|
|
sourceSets {
|
|
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
|
|
}
|
|
|
|
|
|
|
|
lintOptions {
|
|
|
|
checkReleaseBuilds false
|
|
|
|
abortOnError false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2022-08-30 16:05:00 +02:00
|
|
|
implementation 'com.github.SimpleMobileTools:Simple-Commons:141660c8f9'
|
2022-02-26 19:25:26 +01:00
|
|
|
implementation 'org.greenrobot:eventbus:3.3.1'
|
2021-11-27 21:01:31 +01:00
|
|
|
implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61'
|
2022-08-21 20:33:06 +02:00
|
|
|
implementation 'com.github.tibbi:android-smsmms:4cdacdb701'
|
2020-07-27 22:37:11 +02:00
|
|
|
implementation "me.leolin:ShortcutBadger:1.1.22"
|
2020-12-23 15:04:13 +01:00
|
|
|
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
|
2022-08-28 23:49:50 +02:00
|
|
|
implementation 'com.googlecode.ez-vcard:ez-vcard:0.11.3'
|
2020-05-30 18:04:34 +02:00
|
|
|
|
2022-08-24 22:15:49 +02:00
|
|
|
kapt "androidx.room:room-compiler:2.4.3"
|
|
|
|
implementation "androidx.room:room-runtime:2.4.3"
|
|
|
|
annotationProcessor "androidx.room:room-compiler:2.4.3"
|
2020-04-03 10:12:58 +02:00
|
|
|
}
|