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()
|
|
|
|
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
|
|
|
|
2016-02-13 21:05:54 +01:00
|
|
|
android {
|
2018-09-11 13:14:44 +02:00
|
|
|
compileSdkVersion 28
|
2018-10-18 17:51:00 +02:00
|
|
|
buildToolsVersion "28.0.3"
|
2016-02-13 21:05:54 +01:00
|
|
|
|
|
|
|
defaultConfig {
|
2018-11-07 11:48:09 +01:00
|
|
|
applicationId "com.simplemobiletools.notes.pro"
|
2018-10-18 17:51:00 +02:00
|
|
|
minSdkVersion 21
|
2018-09-11 13:14:44 +02:00
|
|
|
targetSdkVersion 28
|
2019-03-09 12:24:34 +01:00
|
|
|
versionCode 60
|
|
|
|
versionName "6.1.3"
|
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 {
|
2018-11-07 11:40:56 +01:00
|
|
|
release {
|
|
|
|
keyAlias keystoreProperties['keyAlias']
|
|
|
|
keyPassword keystoreProperties['keyPassword']
|
|
|
|
storeFile file(keystoreProperties['storeFile'])
|
|
|
|
storePassword keystoreProperties['storePassword']
|
|
|
|
}
|
2016-04-25 23:24:36 +02:00
|
|
|
}
|
|
|
|
|
2016-02-13 21:05:54 +01:00
|
|
|
buildTypes {
|
2017-10-14 21:32:53 +02: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'
|
2016-04-25 23:24:36 +02:00
|
|
|
signingConfig signingConfigs.release
|
2016-02-13 21:05:54 +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 {
|
2019-06-14 16:41:34 +02:00
|
|
|
implementation 'com.simplemobiletools:commons:5.13.14'
|
2018-11-07 12:18:52 +01:00
|
|
|
|
|
|
|
kapt 'androidx.room:room-compiler:2.0.0'
|
|
|
|
implementation 'androidx.room:room-runtime:2.0.0'
|
|
|
|
annotationProcessor 'androidx.room:room-compiler:2.0.0'
|
2016-02-13 21:05:54 +01:00
|
|
|
}
|