thunderbird-android/app/ui/legacy/build.gradle

93 lines
4.9 KiB
Groovy
Raw Normal View History

2018-07-01 11:39:01 +00:00
apply plugin: 'com.android.library'
apply plugin: 'org.jetbrains.kotlin.android'
apply plugin: 'org.jetbrains.kotlin.plugin.parcelize'
2018-07-01 11:39:01 +00:00
dependencies {
api project(":app:ui:base")
debugImplementation project(":app:ui:setup")
2018-07-01 11:39:01 +00:00
implementation project(":app:core")
implementation project(":app:autodiscovery:api")
implementation project(":app:autodiscovery:providersxml")
2018-07-01 11:39:01 +00:00
implementation project(":mail:common")
//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')
2019-02-09 04:23:37 +00:00
implementation "androidx.appcompat:appcompat:${versions.androidxAppCompat}"
2020-04-15 19:32:44 +00:00
implementation "androidx.preference:preference:${versions.androidxPreference}"
implementation "com.takisoft.preferencex:preferencex:${versions.preferencesFix}"
implementation "com.takisoft.preferencex:preferencex-datetimepicker:${versions.preferencesFix}"
implementation "com.takisoft.preferencex:preferencex-colorpicker:${versions.preferencesFix}"
2019-02-09 04:23:37 +00:00
implementation "androidx.recyclerview:recyclerview:${versions.androidxRecyclerView}"
implementation project(':ui-utils:LinearLayoutManager')
2022-11-03 15:44:02 +00:00
implementation project(':ui-utils:ItemTouchHelper')
2021-10-30 00:31:37 +00:00
implementation "androidx.lifecycle:lifecycle-runtime-ktx:${versions.androidxLifecycle}"
2020-02-06 15:22:51 +00:00
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:${versions.androidxLifecycle}"
implementation "androidx.lifecycle:lifecycle-livedata-ktx:${versions.androidxLifecycle}"
2019-04-06 19:08:12 +00:00
implementation "androidx.constraintlayout:constraintlayout:${versions.androidxConstraintLayout}"
implementation "androidx.cardview:cardview:${versions.androidxCardView}"
implementation "androidx.localbroadcastmanager:localbroadcastmanager:${versions.androidxLocalBroadcastManager}"
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
implementation "de.cketti.library.changelog:ckchangelog-core:2.0.0-beta02"
implementation "com.splitwise:tokenautocomplete:4.0.0-beta01"
implementation "de.cketti.safecontentresolver:safe-content-resolver-v21:1.0.0"
implementation 'com.mikepenz:materialdrawer:8.4.5'
implementation 'com.github.ByteHamster:SearchPreference:v2.3.0'
implementation "com.mikepenz:fastadapter:${versions.fastAdapter}"
implementation "com.mikepenz:fastadapter-extensions-drag:${versions.fastAdapter}"
implementation "com.mikepenz:fastadapter-extensions-utils:${versions.fastAdapter}"
2020-04-15 19:14:18 +00:00
implementation 'de.hdodenhof:circleimageview:3.1.0'
2022-05-21 15:27:25 +00:00
api 'net.openid:appauth:0.11.1'
2018-07-01 11:39:01 +00:00
2018-07-08 01:27:52 +00:00
implementation "commons-io:commons-io:${versions.commonsIo}"
implementation "androidx.core:core-ktx:${versions.androidxCore}"
2018-07-08 01:27:52 +00:00
implementation "net.jcip:jcip-annotations:1.0"
implementation "com.jakewharton.timber:timber:${versions.timber}"
implementation "org.apache.james:apache-mime4j-core:${versions.mime4j}"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:${versions.kotlinCoroutines}"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:${versions.kotlinCoroutines}"
2018-07-08 01:27:52 +00:00
2020-07-15 21:23:05 +00:00
implementation "com.github.bumptech.glide:glide:${versions.glide}"
annotationProcessor "com.github.bumptech.glide:compiler:${versions.glide}"
2018-07-01 11:39:01 +00:00
testImplementation project(':mail:testing')
testImplementation project(':app:storage')
testImplementation project(':app:testing')
2018-07-01 11:39:01 +00:00
testImplementation "org.robolectric:robolectric:${versions.robolectric}"
testImplementation "androidx.test:core:${versions.androidxTestCore}"
2018-07-01 11:39:01 +00:00
testImplementation "junit:junit:${versions.junit}"
2021-08-31 01:13:15 +00:00
testImplementation "org.jetbrains.kotlin:kotlin-test:${versions.kotlin}"
2018-07-01 11:39:01 +00:00
testImplementation "com.google.truth:truth:${versions.truth}"
2022-02-03 00:10:52 +00:00
testImplementation "org.mockito:mockito-inline:${versions.mockito}"
2021-04-21 23:57:38 +00:00
testImplementation "org.mockito.kotlin:mockito-kotlin:${versions.mockitoKotlin}"
2022-08-05 21:51:32 +00:00
testImplementation "io.insert-koin:koin-test:${versions.koin}"
2021-10-30 01:55:09 +00:00
testImplementation "io.insert-koin:koin-test-junit4:${versions.koin}"
2021-10-30 00:31:37 +00:00
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:${versions.kotlinCoroutines}"
testImplementation "app.cash.turbine:turbine:${versions.turbine}"
2018-07-01 11:39:01 +00:00
}
android {
namespace 'com.fsck.k9.ui'
buildFeatures {
buildConfig true
}
buildTypes {
debug {
def useNewSetupUi = project.hasProperty('k9mail.useNewSetupUi') ? project.property('k9mail.useNewSetupUi') : "false"
buildConfigField "boolean", "USE_NEW_SETUP_UI_FOR_ONBOARDING", useNewSetupUi
manifestPlaceholders = ['appAuthRedirectScheme': 'FIXME: override this in your app project']
}
release {
buildConfigField "boolean", "USE_NEW_SETUP_UI_FOR_ONBOARDING", "false"
manifestPlaceholders = ['appAuthRedirectScheme': 'FIXME: override this in your app project']
}
}
2018-07-01 11:39:01 +00:00
}