Simple-Keyboard/app/build.gradle

75 lines
2 KiB
Groovy
Raw Normal View History

2022-01-04 09:03:20 +00:00
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
2022-01-19 09:25:20 +00:00
def keystorePropertiesFile = rootProject.file("keystore.properties")
def keystoreProperties = new Properties()
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}
2022-01-04 09:03:20 +00:00
android {
2022-04-02 14:09:49 +00:00
compileSdk 31
2022-01-04 09:03:20 +00:00
defaultConfig {
applicationId "com.simplemobiletools.keyboard"
minSdk 23
2022-04-02 14:09:49 +00:00
targetSdk 31
2022-08-02 08:16:31 +00:00
versionCode 11
versionName "5.2.1"
2022-01-19 09:25:20 +00:00
multiDexEnabled true
2022-01-04 09:03:20 +00:00
setProperty("archivesBaseName", "keyboard")
2022-01-19 09:25:20 +00: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 09:03:20 +00:00
}
buildTypes {
debug {
applicationIdSuffix ".debug"
}
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2022-01-19 09:25:20 +00:00
if (keystorePropertiesFile.exists()) {
signingConfig signingConfigs.release
}
2022-01-04 09:03:20 +00:00
}
}
flavorDimensions "variants"
productFlavors {
2022-01-14 19:08:03 +00:00
core {}
2022-01-04 09:03:20 +00:00
fdroid {}
2022-06-30 21:29:09 +00:00
prepaid {}
2022-01-04 09:03:20 +00:00
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
2022-01-05 09:04:49 +00:00
lintOptions {
checkReleaseBuilds false
abortOnError false
}
2022-01-04 09:03:20 +00:00
}
dependencies {
2022-07-31 17:10:05 +00:00
implementation 'com.github.SimpleMobileTools:Simple-Commons:0c82e5f216'
implementation 'androidx.emoji2:emoji2-bundled:1.1.0'
2022-01-27 09:40:55 +00:00
2022-07-31 17:10:05 +00: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'
2022-01-04 09:03:20 +00:00
}