Simple-SMS-Messenger/app/build.gradle

69 lines
2.0 KiB
Groovy
Raw Normal View History

2020-04-03 10:12:58 +02:00
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
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 {
2020-08-20 23:50:22 +02:00
compileSdkVersion 30
2020-04-03 10:12:58 +02:00
defaultConfig {
applicationId "com.simplemobiletools.smsmessenger"
minSdkVersion 22
2020-08-20 23:50:22 +02:00
targetSdkVersion 30
2020-09-23 10:11:44 +02:00
versionCode 14
versionName "5.4.3"
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 {
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-09-22 14:15:25 +02:00
implementation 'com.simplemobiletools:commons:5.30.12'
implementation 'org.greenrobot:eventbus:3.2.0'
2020-04-10 20:06:14 +02:00
implementation 'com.klinkerapps:android-smsmms:5.2.6'
implementation 'com.github.tibbi:IndicatorFastScroll:08f512858a'
implementation "me.leolin:ShortcutBadger:1.1.22"
kapt "androidx.room:room-compiler:2.2.5"
implementation "androidx.room:room-runtime:2.2.5"
annotationProcessor "androidx.room:room-compiler:2.2.5"
2020-04-03 10:12:58 +02:00
}