Simple-Calculator/app/build.gradle

74 lines
2.0 KiB
Groovy
Raw Normal View History

2015-12-24 12:28:00 +01:00
apply plugin: 'com.android.application'
2017-10-22 15:37:36 +02:00
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
2022-01-09 14:05:16 +01:00
apply plugin: 'kotlin-kapt'
2015-12-24 12:28:00 +01:00
2019-04-07 22:54:30 +02:00
def keystorePropertiesFile = rootProject.file("keystore.properties")
def keystoreProperties = new Properties()
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}
2019-04-07 22:54:30 +02:00
2015-12-24 12:28:00 +01:00
android {
2022-08-12 21:34:55 +02:00
compileSdkVersion 33
2016-04-25 22:45:24 +02:00
2015-12-24 12:28:00 +01:00
defaultConfig {
2016-02-28 15:56:08 +01:00
applicationId "com.simplemobiletools.calculator"
2022-12-21 11:10:38 +01:00
minSdkVersion 23
2022-08-12 21:34:55 +02:00
targetSdkVersion 33
2023-05-10 22:12:38 +02:00
versionCode 60
versionName "5.11.3"
2017-11-29 21:34:46 +01:00
setProperty("archivesBaseName", "calculator")
2015-12-24 12:28:00 +01:00
}
2016-04-25 22:23:03 +02:00
2016-04-25 22:19:28 +02:00
signingConfigs {
if (keystorePropertiesFile.exists()) {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
}
2019-04-07 22:54:30 +02:00
}
2016-04-25 22:19:28 +02:00
}
2016-04-25 22:23:03 +02:00
2015-12-24 12:28:00 +01:00
buildTypes {
debug {
applicationIdSuffix ".debug"
}
2015-12-24 12:28:00 +01:00
release {
2016-01-04 23:19:39 +01:00
minifyEnabled true
2015-12-24 12:28:00 +01:00
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
if (keystorePropertiesFile.exists()) {
signingConfig signingConfigs.release
}
2015-12-24 12:28:00 +01:00
}
}
flavorDimensions "variants"
productFlavors {
core {}
fdroid {}
2022-06-29 23:13:44 +02:00
prepaid {}
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
lintOptions {
checkReleaseBuilds false
abortOnError false
}
2015-12-24 12:28:00 +01:00
}
dependencies {
2023-06-23 10:18:44 +02:00
implementation 'com.github.SimpleMobileTools:Simple-Commons:4c83ec8740'
2017-11-29 21:34:46 +01:00
implementation 'me.grantland:autofittextview:0.2.1'
implementation 'net.objecthunter:exp4j:0.4.8'
2022-01-09 14:05:16 +01:00
2023-05-10 22:03:29 +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'
}