2019-03-08 22:44:56 +00:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'org.jetbrains.kotlin.android'
|
2019-11-26 20:37:40 +00:00
|
|
|
apply plugin: 'org.jlleitschuh.gradle.ktlint'
|
2019-03-08 22:44:56 +00:00
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${versions.kotlin}"
|
|
|
|
|
|
|
|
implementation project(":app:core")
|
|
|
|
implementation project(":mail:common")
|
2020-05-17 21:32:11 +00:00
|
|
|
implementation project(":app:autodiscovery:api")
|
2019-03-08 22:44:56 +00:00
|
|
|
|
|
|
|
implementation "com.jakewharton.timber:timber:${versions.timber}"
|
|
|
|
|
|
|
|
testImplementation project(':app:testing')
|
|
|
|
testImplementation project(":backend:imap")
|
|
|
|
testImplementation "org.robolectric:robolectric:${versions.robolectric}"
|
2020-05-16 16:19:37 +00:00
|
|
|
testImplementation "androidx.test:core:${versions.androidxCore}"
|
2019-03-08 22:44:56 +00:00
|
|
|
testImplementation "junit:junit:${versions.junit}"
|
|
|
|
testImplementation "com.google.truth:truth:${versions.truth}"
|
|
|
|
testImplementation "org.mockito:mockito-core:${versions.mockito}"
|
2020-01-19 01:31:15 +00:00
|
|
|
testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:${versions.mockitoKotlin}"
|
2019-03-08 22:44:56 +00:00
|
|
|
testImplementation "org.koin:koin-test:${versions.koin}"
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion buildConfig.compileSdk
|
|
|
|
buildToolsVersion buildConfig.buildTools
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion buildConfig.minSdk
|
2019-11-13 16:35:46 +00:00
|
|
|
targetSdkVersion buildConfig.robolectricSdk
|
2019-03-08 22:44:56 +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
|
2019-03-08 22:44:56 +00:00
|
|
|
}
|
|
|
|
|
2019-11-17 13:40:57 +00:00
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = kotlinJvmVersion
|
|
|
|
}
|
|
|
|
|
2019-03-08 22:44:56 +00:00
|
|
|
testOptions {
|
|
|
|
unitTests {
|
|
|
|
includeAndroidResources = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|