2018-06-21 13:12:50 +00:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'org.jetbrains.kotlin.android'
|
2021-03-02 16:33:43 +00:00
|
|
|
apply plugin: 'org.jetbrains.kotlin.plugin.parcelize'
|
2018-06-21 13:12:50 +00:00
|
|
|
|
|
|
|
dependencies {
|
|
|
|
api project(":mail:common")
|
|
|
|
api project(":backend:api")
|
2022-01-26 02:44:15 +00:00
|
|
|
api project(":app:html-cleaner")
|
2018-06-21 13:12:50 +00:00
|
|
|
|
2020-06-23 06:37:39 +00:00
|
|
|
implementation project(':plugins:openpgp-api-lib:openpgp-api')
|
2018-06-21 13:12:50 +00:00
|
|
|
|
2021-10-30 01:55:09 +00:00
|
|
|
api "io.insert-koin:koin-android:${versions.koin}"
|
2019-11-19 17:32:29 +00:00
|
|
|
|
|
|
|
api "androidx.annotation:annotation:${versions.androidxAnnotation}"
|
2018-06-21 13:12:50 +00:00
|
|
|
|
2018-07-08 01:27:52 +00:00
|
|
|
implementation "com.squareup.okio:okio:${versions.okio}"
|
|
|
|
implementation "commons-io:commons-io:${versions.commonsIo}"
|
2020-02-06 16:36:35 +00:00
|
|
|
implementation "androidx.core:core-ktx:${versions.androidxCore}"
|
2019-11-13 14:45:55 +00:00
|
|
|
implementation "androidx.work:work-runtime-ktx:${versions.androidxWorkManager}"
|
2019-11-19 17:32:29 +00:00
|
|
|
implementation "androidx.fragment:fragment:${versions.androidxFragment}"
|
|
|
|
implementation "androidx.localbroadcastmanager:localbroadcastmanager:${versions.androidxLocalBroadcastManager}"
|
2022-01-26 02:44:15 +00:00
|
|
|
implementation "org.jsoup:jsoup:${versions.jsoup}"
|
2020-02-21 00:51:10 +00:00
|
|
|
implementation "com.squareup.moshi:moshi:${versions.moshi}"
|
2018-07-08 01:27:52 +00:00
|
|
|
implementation "com.jakewharton.timber:timber:${versions.timber}"
|
|
|
|
implementation "org.apache.james:apache-mime4j-core:${versions.mime4j}"
|
|
|
|
|
2018-07-01 11:39:01 +00:00
|
|
|
testImplementation project(':mail:testing')
|
2018-07-16 16:12:54 +00:00
|
|
|
testImplementation project(":backend:imap")
|
2018-07-15 17:40:28 +00:00
|
|
|
testImplementation project(":mail:protocols:smtp")
|
2018-08-27 13:49:13 +00:00
|
|
|
testImplementation project(":app:storage")
|
2018-12-17 17:05:59 +00:00
|
|
|
testImplementation project(":app:testing")
|
2021-09-01 00:18:54 +00:00
|
|
|
testImplementation "org.jetbrains.kotlin:kotlin-test:${versions.kotlin}"
|
2018-12-03 18:22:03 +00:00
|
|
|
testImplementation "org.jetbrains.kotlin:kotlin-reflect:${versions.kotlin}"
|
2018-06-21 13:12:50 +00:00
|
|
|
testImplementation "org.robolectric:robolectric:${versions.robolectric}"
|
2021-09-01 00:18:54 +00:00
|
|
|
testImplementation "androidx.test:core:${versions.androidxTestCore}"
|
2018-06-21 13:12:50 +00:00
|
|
|
testImplementation "junit:junit:${versions.junit}"
|
|
|
|
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}"
|
2018-06-21 13:12:50 +00:00
|
|
|
testImplementation "org.jdom:jdom2:2.0.6"
|
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}"
|
2018-06-21 13:12:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2022-09-17 12:33:34 +00:00
|
|
|
namespace 'com.fsck.k9.core'
|
|
|
|
|
2018-06-21 13:12:50 +00:00
|
|
|
compileSdkVersion buildConfig.compileSdk
|
|
|
|
buildToolsVersion buildConfig.buildTools
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion buildConfig.minSdk
|
2019-11-13 16:35:46 +00:00
|
|
|
targetSdkVersion buildConfig.robolectricSdk
|
2018-06-21 13:12:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
|
|
|
lintConfig file("$rootProject.projectDir/config/lint/lint.xml")
|
|
|
|
}
|
|
|
|
|
|
|
|
compileOptions {
|
2019-11-13 15:10:14 +00:00
|
|
|
sourceCompatibility javaVersion
|
|
|
|
targetCompatibility javaVersion
|
2018-06-21 13:12:50 +00:00
|
|
|
}
|
|
|
|
|
2019-11-17 13:40:57 +00:00
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = kotlinJvmVersion
|
|
|
|
}
|
|
|
|
|
2018-06-21 13:12:50 +00:00
|
|
|
testOptions {
|
|
|
|
unitTests {
|
|
|
|
includeAndroidResources = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|