2016-02-13 21:05:54 +01:00
|
|
|
apply plugin: 'com.android.application'
|
2016-10-24 21:06:37 +02:00
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
2018-11-07 12:18:52 +01:00
|
|
|
apply plugin: 'kotlin-kapt'
|
2016-02-13 21:05:54 +01:00
|
|
|
|
2018-11-07 11:40:56 +01:00
|
|
|
def keystorePropertiesFile = rootProject.file("keystore.properties")
|
|
|
|
def keystoreProperties = new Properties()
|
2019-12-19 21:57:42 +01:00
|
|
|
if (keystorePropertiesFile.exists()) {
|
|
|
|
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
|
|
|
}
|
2018-11-07 11:40:56 +01:00
|
|
|
|
2016-02-13 21:05:54 +01:00
|
|
|
android {
|
2022-08-24 22:41:54 +02:00
|
|
|
compileSdkVersion 33
|
2016-02-13 21:05:54 +01:00
|
|
|
|
|
|
|
defaultConfig {
|
2018-11-07 11:48:09 +01:00
|
|
|
applicationId "com.simplemobiletools.notes.pro"
|
2022-12-24 23:04:51 +01:00
|
|
|
minSdkVersion 23
|
2022-08-24 22:41:54 +02:00
|
|
|
targetSdkVersion 33
|
2023-05-12 10:16:16 +02:00
|
|
|
versionCode 105
|
|
|
|
versionName "6.15.5"
|
2017-11-10 16:13:32 +01:00
|
|
|
setProperty("archivesBaseName", "notes")
|
2016-02-13 21:05:54 +01:00
|
|
|
}
|
2016-04-25 23:24:36 +02:00
|
|
|
|
|
|
|
signingConfigs {
|
2019-12-19 21:57:42 +01:00
|
|
|
if (keystorePropertiesFile.exists()) {
|
|
|
|
release {
|
|
|
|
keyAlias keystoreProperties['keyAlias']
|
|
|
|
keyPassword keystoreProperties['keyPassword']
|
|
|
|
storeFile file(keystoreProperties['storeFile'])
|
|
|
|
storePassword keystoreProperties['storePassword']
|
|
|
|
}
|
2018-11-07 11:40:56 +01:00
|
|
|
}
|
2016-04-25 23:24:36 +02:00
|
|
|
}
|
|
|
|
|
2016-02-13 21:05:54 +01:00
|
|
|
buildTypes {
|
2017-10-14 22:32:53 +03:00
|
|
|
debug {
|
|
|
|
applicationIdSuffix ".debug"
|
|
|
|
}
|
2016-02-13 21:05:54 +01:00
|
|
|
release {
|
2016-04-25 23:24:36 +02:00
|
|
|
minifyEnabled true
|
2016-02-13 21:05:54 +01:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
2019-12-22 22:58:51 +01:00
|
|
|
if (keystorePropertiesFile.exists()) {
|
|
|
|
signingConfig signingConfigs.release
|
|
|
|
}
|
2016-02-13 21:05:54 +01:00
|
|
|
}
|
|
|
|
}
|
2016-10-24 21:06:37 +02:00
|
|
|
|
2022-02-03 23:15:41 +01:00
|
|
|
flavorDimensions "variants"
|
|
|
|
productFlavors {
|
|
|
|
core {}
|
|
|
|
fdroid {}
|
2022-03-08 10:42:49 +01:00
|
|
|
prepaid {}
|
2022-02-03 23:15:41 +01:00
|
|
|
}
|
|
|
|
|
2016-10-24 21:06:37 +02:00
|
|
|
sourceSets {
|
|
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
|
|
}
|
2017-09-23 11:57:13 +02:00
|
|
|
|
|
|
|
lintOptions {
|
|
|
|
checkReleaseBuilds false
|
|
|
|
abortOnError false
|
|
|
|
}
|
2016-02-13 21:05:54 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-06-23 11:01:35 +02:00
|
|
|
implementation 'com.github.SimpleMobileTools:Simple-Commons:4c83ec8740'
|
2022-05-23 20:50:08 +02:00
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
2020-09-19 15:58:02 +02:00
|
|
|
implementation 'androidx.documentfile:documentfile:1.0.1'
|
2018-11-07 12:18:52 +01:00
|
|
|
|
2023-05-10 23:00:25 +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'
|
2016-02-13 21:05:54 +01:00
|
|
|
}
|