2023-07-07 22:49:47 +10:00
|
|
|
plugins {
|
|
|
|
id 'com.android.application'
|
|
|
|
id 'kotlin-android'
|
|
|
|
id 'kotlin-android-extensions'
|
|
|
|
id 'kotlin-kapt'
|
|
|
|
id 'org.jetbrains.kotlin.plugin.serialization' version "$kotlin_version"
|
|
|
|
}
|
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 {
|
2023-07-07 22:49:47 +10:00
|
|
|
compileSdk 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-07-17 20:43:46 +02:00
|
|
|
versionCode 107
|
|
|
|
versionName "6.15.6"
|
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-07-28 17:29:09 +10:00
|
|
|
implementation 'com.github.SimpleMobileTools:Simple-Commons:91763fe00f'
|
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-07-17 20:25:24 +02:00
|
|
|
kapt 'androidx.room:room-compiler:2.5.2'
|
|
|
|
implementation 'androidx.room:room-runtime:2.5.2'
|
|
|
|
annotationProcessor 'androidx.room:room-compiler:2.5.2'
|
2023-07-07 22:49:47 +10:00
|
|
|
|
|
|
|
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1"
|
2016-02-13 21:05:54 +01:00
|
|
|
}
|