2020-04-03 10:12:58 +02:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
|
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 {
|
|
|
|
compileSdkVersion 29
|
|
|
|
buildToolsVersion "29.0.3"
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.simplemobiletools.smsmessenger"
|
|
|
|
minSdkVersion 21
|
|
|
|
targetSdkVersion 29
|
|
|
|
versionCode 1
|
2020-04-14 13:52:46 +02:00
|
|
|
versionName "5.0.0"
|
|
|
|
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 {
|
|
|
|
minifyEnabled false
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
|
|
}
|
|
|
|
|
|
|
|
lintOptions {
|
|
|
|
checkReleaseBuilds false
|
|
|
|
abortOnError false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2020-04-13 22:08:19 +02:00
|
|
|
implementation 'com.simplemobiletools:commons:5.25.14'
|
2020-04-03 22:24:05 +02:00
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta4'
|
2020-04-04 21:23:28 +02:00
|
|
|
implementation 'org.greenrobot:eventbus:3.2.0'
|
2020-04-10 20:06:14 +02:00
|
|
|
implementation 'com.klinkerapps:android-smsmms:5.2.6'
|
2020-04-13 21:58:12 +02:00
|
|
|
implementation 'com.github.tibbi:IndicatorFastScroll:08f512858a'
|
2020-04-03 10:12:58 +02:00
|
|
|
}
|