2023-01-08 02:14:00 +00:00
|
|
|
plugins {
|
|
|
|
alias(libs.plugins.android.library)
|
|
|
|
alias(libs.plugins.kotlin.android)
|
|
|
|
alias(libs.plugins.kotlin.parcelize)
|
|
|
|
}
|
2018-07-01 11:39:01 +00:00
|
|
|
|
|
|
|
dependencies {
|
2020-05-18 23:25:03 +00:00
|
|
|
api project(":app:ui:base")
|
2020-05-21 23:13:34 +00:00
|
|
|
debugImplementation project(":app:ui:setup")
|
2018-07-01 11:39:01 +00:00
|
|
|
implementation project(":app:core")
|
2020-05-17 21:32:11 +00:00
|
|
|
implementation project(":app:autodiscovery:api")
|
|
|
|
implementation project(":app:autodiscovery:providersxml")
|
2018-07-01 11:39:01 +00:00
|
|
|
implementation project(":mail:common")
|
2022-12-14 17:43:31 +00:00
|
|
|
implementation project(":ui-utils:ToolbarBottomSheet")
|
2018-07-01 11:39:01 +00:00
|
|
|
|
2018-07-15 17:40:28 +00:00
|
|
|
//TODO: Remove AccountSetupIncoming's dependency on these
|
|
|
|
compileOnly project(":mail:protocols:imap")
|
|
|
|
compileOnly project(":mail:protocols:webdav")
|
|
|
|
|
2018-07-01 11:39:01 +00:00
|
|
|
implementation project(':plugins:openpgp-api-lib:openpgp-api')
|
|
|
|
|
2023-01-08 02:14:00 +00:00
|
|
|
implementation libs.androidx.appcompat
|
|
|
|
implementation libs.androidx.preference
|
|
|
|
implementation libs.preferencex
|
|
|
|
implementation libs.preferencex.datetimepicker
|
|
|
|
implementation libs.preferencex.colorpicker
|
|
|
|
implementation libs.androidx.recyclerview
|
2022-09-29 14:31:37 +00:00
|
|
|
implementation project(':ui-utils:LinearLayoutManager')
|
2022-11-03 15:44:02 +00:00
|
|
|
implementation project(':ui-utils:ItemTouchHelper')
|
2023-01-08 02:14:00 +00:00
|
|
|
implementation libs.androidx.lifecycle.runtime.ktx
|
|
|
|
implementation libs.androidx.lifecycle.viewmodel.ktx
|
|
|
|
implementation libs.androidx.lifecycle.livedata.ktx
|
|
|
|
implementation libs.androidx.constraintlayout
|
|
|
|
implementation libs.androidx.localbroadcastmanager
|
|
|
|
implementation libs.androidx.swiperefreshlayout
|
|
|
|
implementation libs.ckchangelog.core
|
|
|
|
implementation libs.tokenautocomplete
|
2023-01-13 15:30:14 +00:00
|
|
|
implementation libs.safeContentResolver
|
2023-01-08 02:14:00 +00:00
|
|
|
implementation libs.materialdrawer
|
2023-01-13 15:30:14 +00:00
|
|
|
implementation libs.searchPreference
|
2023-01-08 02:14:00 +00:00
|
|
|
implementation libs.fastadapter
|
|
|
|
implementation libs.fastadapter.extensions.drag
|
|
|
|
implementation libs.fastadapter.extensions.utils
|
|
|
|
implementation libs.circleimageview
|
|
|
|
api libs.appauth
|
2018-07-01 11:39:01 +00:00
|
|
|
|
2023-01-08 02:14:00 +00:00
|
|
|
implementation libs.commons.io
|
|
|
|
implementation libs.androidx.core.ktx
|
|
|
|
implementation libs.jcip.annotations
|
|
|
|
implementation libs.timber
|
2023-01-13 15:30:14 +00:00
|
|
|
implementation libs.mime4j.core
|
2023-01-08 02:14:00 +00:00
|
|
|
implementation libs.kotlinx.coroutines.core
|
|
|
|
implementation libs.kotlinx.coroutines.android
|
2018-07-08 01:27:52 +00:00
|
|
|
|
2023-01-08 02:14:00 +00:00
|
|
|
implementation libs.glide
|
|
|
|
annotationProcessor libs.glide.compiler
|
2020-07-15 21:23:05 +00:00
|
|
|
|
2018-07-01 11:39:01 +00:00
|
|
|
testImplementation project(':mail:testing')
|
2018-08-27 13:49:13 +00:00
|
|
|
testImplementation project(':app:storage')
|
2018-12-17 17:05:59 +00:00
|
|
|
testImplementation project(':app:testing')
|
2023-01-08 02:14:00 +00:00
|
|
|
testImplementation libs.robolectric
|
|
|
|
testImplementation libs.androidx.test.core
|
|
|
|
testImplementation libs.junit
|
|
|
|
testImplementation libs.kotlin.test
|
|
|
|
testImplementation libs.truth
|
|
|
|
testImplementation libs.mockito.inline
|
|
|
|
testImplementation libs.mockito.kotlin
|
|
|
|
testImplementation libs.koin.test
|
|
|
|
testImplementation libs.koin.test.junit4
|
|
|
|
testImplementation libs.kotlinx.coroutines.test
|
|
|
|
testImplementation libs.turbine
|
2018-07-01 11:39:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2022-09-17 12:33:34 +00:00
|
|
|
namespace 'com.fsck.k9.ui'
|
|
|
|
|
2022-12-07 03:16:04 +00:00
|
|
|
buildFeatures {
|
|
|
|
buildConfig true
|
|
|
|
}
|
|
|
|
|
2020-05-22 00:14:20 +00:00
|
|
|
buildTypes {
|
|
|
|
debug {
|
|
|
|
def useNewSetupUi = project.hasProperty('k9mail.useNewSetupUi') ? project.property('k9mail.useNewSetupUi') : "false"
|
|
|
|
buildConfigField "boolean", "USE_NEW_SETUP_UI_FOR_ONBOARDING", useNewSetupUi
|
2022-08-04 18:43:19 +00:00
|
|
|
|
|
|
|
manifestPlaceholders = ['appAuthRedirectScheme': 'FIXME: override this in your app project']
|
2020-05-22 00:14:20 +00:00
|
|
|
}
|
|
|
|
release {
|
|
|
|
buildConfigField "boolean", "USE_NEW_SETUP_UI_FOR_ONBOARDING", "false"
|
2022-08-04 18:43:19 +00:00
|
|
|
|
|
|
|
manifestPlaceholders = ['appAuthRedirectScheme': 'FIXME: override this in your app project']
|
2020-05-22 00:14:20 +00:00
|
|
|
}
|
|
|
|
}
|
2018-07-01 11:39:01 +00:00
|
|
|
}
|