2018-07-01 11:39:01 +00:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'org.jetbrains.kotlin.android'
|
|
|
|
apply plugin: 'org.jetbrains.kotlin.android.extensions'
|
|
|
|
|
|
|
|
apply from: "${rootProject.projectDir}/gradle/plugins/checkstyle-android.gradle"
|
|
|
|
apply from: "${rootProject.projectDir}/gradle/plugins/findbugs-android.gradle"
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${versions.kotlin}"
|
|
|
|
|
|
|
|
implementation project(":app:core")
|
2019-03-10 19:03:18 +00:00
|
|
|
implementation project(":app:autodiscovery")
|
2018-07-01 11:39:01 +00:00
|
|
|
implementation project(":mail:common")
|
|
|
|
|
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:HoloColorPicker')
|
|
|
|
implementation project(':plugins:openpgp-api-lib:openpgp-api')
|
|
|
|
|
2019-02-09 04:23:37 +00:00
|
|
|
implementation "androidx.appcompat:appcompat:${versions.androidxAppCompat}"
|
2019-02-09 05:09:50 +00:00
|
|
|
implementation "com.takisoft.preferencex:preferencex:${versions.preferencesFix}"
|
|
|
|
implementation "com.takisoft.preferencex:preferencex-datetimepicker:${versions.preferencesFix}"
|
|
|
|
implementation "com.takisoft.preferencex:preferencex-colorpicker:${versions.preferencesFix}"
|
|
|
|
implementation "com.takisoft.preferencex:preferencex-ringtone:${versions.preferencesFix}"
|
2019-02-09 04:23:37 +00:00
|
|
|
implementation "androidx.recyclerview:recyclerview:${versions.androidxRecyclerView}"
|
|
|
|
implementation "androidx.lifecycle:lifecycle-extensions:${versions.androidxLifecycleExtensions}"
|
2019-04-14 13:44:14 +00:00
|
|
|
implementation "androidx.navigation:navigation-fragment-ktx:${versions.androidxNavigation}"
|
|
|
|
implementation "androidx.navigation:navigation-ui-ktx:${versions.androidxNavigation}"
|
2019-04-06 19:08:12 +00:00
|
|
|
implementation "androidx.constraintlayout:constraintlayout:${versions.androidxConstraintLayout}"
|
2019-05-19 21:49:09 +00:00
|
|
|
implementation "com.google.android.material:material:${versions.materialComponents}"
|
2018-07-01 11:39:01 +00:00
|
|
|
implementation "de.cketti.library.changelog:ckchangelog:1.2.1"
|
|
|
|
implementation "com.github.bumptech.glide:glide:3.6.1"
|
|
|
|
implementation "com.splitwise:tokenautocomplete:2.0.7"
|
|
|
|
implementation "de.cketti.safecontentresolver:safe-content-resolver-v14:0.9.0"
|
|
|
|
implementation "com.github.amlcurran.showcaseview:library:5.4.1"
|
2019-02-09 19:01:42 +00:00
|
|
|
implementation "com.xwray:groupie:2.3.0"
|
|
|
|
implementation "com.xwray:groupie-kotlin-android-extensions:2.3.0"
|
2019-02-09 18:51:51 +00:00
|
|
|
implementation 'com.mikepenz:materialdrawer:6.1.1'
|
2018-11-24 11:28:34 +00:00
|
|
|
implementation 'com.mikepenz:fontawesome-typeface:5.3.1.1@aar'
|
2018-09-12 23:40:30 +00:00
|
|
|
implementation 'com.github.ByteHamster:SearchPreference:v1.1.4'
|
2019-04-06 19:08:12 +00:00
|
|
|
implementation 'com.mikepenz:fastadapter:3.3.1'
|
2019-07-11 18:19:02 +00:00
|
|
|
implementation 'de.hdodenhof:circleimageview:3.0.0'
|
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.coreKtx}"
|
|
|
|
implementation "net.jcip:jcip-annotations:1.0"
|
|
|
|
implementation "com.jakewharton.timber:timber:${versions.timber}"
|
|
|
|
implementation "org.apache.james:apache-mime4j-core:${versions.mime4j}"
|
2019-02-13 19:32:14 +00:00
|
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.1.0"
|
|
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.1.0"
|
2018-07-08 01:27:52 +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')
|
2018-07-01 11:39:01 +00:00
|
|
|
testImplementation "org.robolectric:robolectric:${versions.robolectric}"
|
|
|
|
testImplementation "junit:junit:${versions.junit}"
|
|
|
|
testImplementation "com.google.truth:truth:${versions.truth}"
|
|
|
|
testImplementation "org.mockito:mockito-core:${versions.mockito}"
|
|
|
|
testImplementation "com.nhaarman:mockito-kotlin:${versions.mockitoKotlin}"
|
|
|
|
testImplementation "org.jdom:jdom2:2.0.6"
|
|
|
|
testImplementation "org.koin:koin-test:${versions.koin}"
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion buildConfig.compileSdk
|
|
|
|
buildToolsVersion buildConfig.buildTools
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion buildConfig.minSdk
|
|
|
|
// For Robolectric tests
|
2018-10-08 18:49:38 +00:00
|
|
|
targetSdkVersion 23
|
2018-07-01 11:39:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
|
|
|
lintConfig file("$rootProject.projectDir/config/lint/lint.xml")
|
|
|
|
}
|
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_7
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_7
|
|
|
|
}
|
|
|
|
|
|
|
|
testOptions {
|
|
|
|
unitTests {
|
|
|
|
includeAndroidResources = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
androidExtensions {
|
|
|
|
experimental = true
|
|
|
|
}
|