2019-10-15 16:27:06 +00:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
2020-04-23 18:35:25 +00:00
|
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
|
2019-10-15 16:27:06 +00:00
|
|
|
|
|
|
|
android {
|
2020-06-03 15:49:29 +00:00
|
|
|
compileSdkVersion androidCompileSdkVersion
|
|
|
|
buildToolsVersion androidBuildToolsVersion
|
2019-10-15 16:27:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
defaultConfig {
|
2020-05-17 10:20:45 +00:00
|
|
|
applicationId "net.dankito.banking.android"
|
2020-06-03 15:49:29 +00:00
|
|
|
|
|
|
|
minSdkVersion androidMinSdkVersion
|
|
|
|
targetSdkVersion androidTargetSdkVersion
|
|
|
|
|
|
|
|
versionName version
|
2019-10-30 21:31:53 +00:00
|
|
|
versionCode appVersionCode
|
2019-10-15 16:27:06 +00:00
|
|
|
|
2020-04-22 15:40:12 +00:00
|
|
|
multiDexEnabled true
|
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
2019-10-15 16:27:06 +00:00
|
|
|
}
|
|
|
|
|
2020-06-03 15:49:29 +00:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
|
2019-10-15 16:27:06 +00:00
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-30 21:26:43 +00:00
|
|
|
signingConfigs {
|
|
|
|
debug {
|
|
|
|
// so that all machines have the same signing key, no matter if app is installed from developer's machine or from Jenkins
|
|
|
|
storeFile file('debug-keystore.jks')
|
|
|
|
storePassword 'find_my_bugs_before_releasing_me'
|
|
|
|
keyAlias 'DebugKey'
|
|
|
|
keyPassword 'find_my_bugs_before_releasing_me'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-30 21:27:31 +00:00
|
|
|
packagingOptions {
|
2020-06-03 15:49:29 +00:00
|
|
|
pickFirst 'META-INF/kotlinx-coroutines-io.kotlin_module'
|
|
|
|
pickFirst 'META-INF/kotlinx-io.kotlin_module'
|
|
|
|
pickFirst 'META-INF/kotlinx-serialization-runtime.kotlin_module'
|
|
|
|
pickFirst 'META-INF/ktor-utils.kotlin_module'
|
|
|
|
pickFirst 'META-INF/ktor-client-core.kotlin_module'
|
|
|
|
pickFirst 'META-INF/ktor-http.kotlin_module'
|
|
|
|
pickFirst 'META-INF/ktor-io.kotlin_module'
|
|
|
|
pickFirst 'META-INF/ktor-http-cio.kotlin_module'
|
|
|
|
pickFirst 'META-INF/atomicfu.kotlin_module'
|
|
|
|
|
|
|
|
pickFirst 'META-INF/DEPENDENCIES'
|
|
|
|
pickFirst 'META-INF/NOTICE'
|
|
|
|
pickFirst 'META-INF/LICENSE'
|
|
|
|
pickFirst 'META-INF/LICENSE.txt'
|
|
|
|
pickFirst 'META-INF/NOTICE.txt'
|
2019-10-30 21:27:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
|
|
|
}
|
|
|
|
|
2019-10-15 16:27:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2020-06-03 15:49:29 +00:00
|
|
|
implementation project(":fints4k"), {
|
|
|
|
exclude group: "com.soywiz.korlibs.klock", module: "klock-android" // klock-jvm already adds required extensions, to avoid duplicates
|
|
|
|
}
|
|
|
|
|
2020-01-15 22:55:16 +00:00
|
|
|
implementation project(':BankingUiCommon')
|
2020-01-02 21:39:02 +00:00
|
|
|
|
2020-05-11 16:21:36 +00:00
|
|
|
implementation project(':fints4kBankingClient')
|
2019-10-20 21:50:49 +00:00
|
|
|
|
2020-06-03 15:49:29 +00:00
|
|
|
implementation project(':BankFinder')
|
|
|
|
|
2020-01-15 22:55:16 +00:00
|
|
|
implementation project(':BankingPersistenceJson')
|
2020-04-25 00:45:37 +00:00
|
|
|
implementation project(':LuceneBankingPersistence')
|
2020-01-15 22:55:16 +00:00
|
|
|
|
2020-06-13 14:04:12 +00:00
|
|
|
|
|
|
|
implementation "net.dankito.text.extraction:itext2-text-extractor:$textExtractorVersion"
|
|
|
|
implementation "net.dankito.text.extraction:pdfbox-android-text-extractor:$textExtractorVersion"
|
|
|
|
|
2020-01-03 16:57:05 +00:00
|
|
|
implementation "com.github.clans:fab:$clansFloatingActionButtonVersion"
|
|
|
|
|
2020-04-23 14:54:34 +00:00
|
|
|
implementation "com.otaliastudios:autocomplete:$autocompleteVersion"
|
|
|
|
|
2020-01-15 22:55:16 +00:00
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
|
2020-04-23 14:54:34 +00:00
|
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinCoroutinesVersion"
|
2019-10-15 16:27:06 +00:00
|
|
|
|
2020-06-13 14:04:12 +00:00
|
|
|
implementation "net.dankito.filechooserdialog:filechooserdialog-android:$fileChooserDialogVersion", {
|
|
|
|
exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib'
|
|
|
|
exclude group: 'com.android.support', module: 'appcompat-v7'
|
|
|
|
exclude group: 'com.android.support', module: 'design'
|
|
|
|
exclude group: 'com.android.support.constraint', module: 'constraint-layout'
|
|
|
|
exclude module: 'recyclerview-v7'
|
|
|
|
}
|
|
|
|
|
2020-01-15 22:55:16 +00:00
|
|
|
implementation "net.dankito.utils:android-utils:$androidUtilsVersion", {
|
2019-10-15 16:27:06 +00:00
|
|
|
exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib-jdk7'
|
|
|
|
exclude group: 'com.android.support', module: 'appcompat-v7'
|
|
|
|
exclude group: 'com.android.support', module: 'design'
|
|
|
|
}
|
|
|
|
|
2020-04-28 14:51:26 +00:00
|
|
|
implementation "org.slf4j:slf4j-android:$slf4jVersion"
|
2019-10-15 16:27:06 +00:00
|
|
|
|
2020-04-22 15:40:12 +00:00
|
|
|
|
|
|
|
implementation "androidx.multidex:multidex:$multiDexVersion"
|
|
|
|
|
|
|
|
implementation "androidx.appcompat:appcompat:$appCompatVersion"
|
|
|
|
implementation "androidx.recyclerview:recyclerview:$appCompatVersion"
|
|
|
|
implementation "androidx.annotation:annotation:$appCompatVersion"
|
|
|
|
implementation "com.google.android.material:material:$materialComponentsVersion"
|
|
|
|
implementation "androidx.constraintlayout:constraintlayout:$constraintLayoutVersion"
|
|
|
|
|
2020-04-22 18:33:14 +00:00
|
|
|
// for MaterialDrawer
|
|
|
|
implementation "com.mikepenz:materialdrawer:$materialDrawerVersion"
|
|
|
|
implementation "com.mikepenz:materialdrawer-nav:$materialDrawerVersion"
|
|
|
|
|
|
|
|
implementation "com.mikepenz:materialdrawer-iconics:$materialDrawerVersion"
|
|
|
|
implementation "com.mikepenz:google-material-typeface:3.0.1.4.original-kotlin@aar"
|
|
|
|
implementation "com.mikepenz:fontawesome-typeface:5.9.0.0-kotlin@aar"
|
|
|
|
|
2020-04-22 15:40:12 +00:00
|
|
|
|
2020-04-23 18:35:25 +00:00
|
|
|
kapt "com.google.dagger:dagger-compiler:$daggerVersion"
|
|
|
|
implementation "com.google.dagger:dagger:$daggerVersion"
|
|
|
|
|
|
|
|
|
2020-04-22 15:40:12 +00:00
|
|
|
implementation 'androidx.navigation:navigation-fragment:2.0.0-rc02'
|
|
|
|
implementation 'androidx.navigation:navigation-ui:2.0.0-rc02'
|
|
|
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'
|
|
|
|
implementation 'androidx.navigation:navigation-fragment-ktx:2.0.0-rc02'
|
|
|
|
implementation 'androidx.navigation:navigation-ui-ktx:2.0.0-rc02'
|
2019-10-15 16:27:06 +00:00
|
|
|
}
|