2022-01-04 10:03:20 +01:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
|
2022-01-19 10:25:20 +01:00
|
|
|
def keystorePropertiesFile = rootProject.file("keystore.properties")
|
|
|
|
def keystoreProperties = new Properties()
|
|
|
|
if (keystorePropertiesFile.exists()) {
|
|
|
|
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
|
|
|
}
|
|
|
|
|
2022-01-04 10:03:20 +01:00
|
|
|
android {
|
2022-08-19 10:27:19 +02:00
|
|
|
compileSdk 33
|
2022-01-04 10:03:20 +01:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.simplemobiletools.keyboard"
|
|
|
|
minSdk 23
|
2022-08-19 10:27:19 +02:00
|
|
|
targetSdk 33
|
2023-06-18 10:00:18 +02:00
|
|
|
versionCode 20
|
|
|
|
versionName "5.4.5"
|
2022-01-19 10:25:20 +01:00
|
|
|
multiDexEnabled true
|
2022-01-04 10:03:20 +01:00
|
|
|
setProperty("archivesBaseName", "keyboard")
|
2022-01-19 10:25:20 +01:00
|
|
|
vectorDrawables.useSupportLibrary = true
|
|
|
|
}
|
|
|
|
|
|
|
|
signingConfigs {
|
|
|
|
if (keystorePropertiesFile.exists()) {
|
|
|
|
release {
|
|
|
|
keyAlias keystoreProperties['keyAlias']
|
|
|
|
keyPassword keystoreProperties['keyPassword']
|
|
|
|
storeFile file(keystoreProperties['storeFile'])
|
|
|
|
storePassword keystoreProperties['storePassword']
|
|
|
|
}
|
|
|
|
}
|
2022-01-04 10:03:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
debug {
|
|
|
|
applicationIdSuffix ".debug"
|
|
|
|
}
|
|
|
|
release {
|
|
|
|
minifyEnabled true
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
2022-01-19 10:25:20 +01:00
|
|
|
if (keystorePropertiesFile.exists()) {
|
|
|
|
signingConfig signingConfigs.release
|
|
|
|
}
|
2022-01-04 10:03:20 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
flavorDimensions "variants"
|
|
|
|
productFlavors {
|
2022-01-14 20:08:03 +01:00
|
|
|
core {}
|
2022-01-04 10:03:20 +01:00
|
|
|
fdroid {}
|
2022-06-30 23:29:09 +02:00
|
|
|
prepaid {}
|
2022-01-04 10:03:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
|
|
}
|
2022-01-05 10:04:49 +01:00
|
|
|
|
|
|
|
lintOptions {
|
|
|
|
checkReleaseBuilds false
|
|
|
|
abortOnError false
|
|
|
|
}
|
2022-01-04 10:03:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-06-22 23:58:27 +02:00
|
|
|
implementation 'com.github.SimpleMobileTools:Simple-Commons:d6cddfa7d8'
|
2022-08-19 10:20:09 +02:00
|
|
|
implementation 'androidx.emoji2:emoji2-bundled:1.2.0'
|
2022-01-27 10:40:55 +01:00
|
|
|
|
2023-05-04 23:07:51 +02:00
|
|
|
kapt 'androidx.room:room-compiler:2.5.1'
|
|
|
|
implementation 'androidx.room:room-runtime:2.5.1'
|
|
|
|
annotationProcessor 'androidx.room:room-compiler:2.5.1'
|
2022-01-04 10:03:20 +01:00
|
|
|
}
|