thunderbird-android/app/ui/build.gradle
cketti 97ed41524e Move tests to :app:storage module
Create :app:testing module for shared test infrastructure code
2018-12-18 00:07:44 +01:00

93 lines
3.6 KiB
Groovy

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")
implementation project(":mail:common")
//TODO: Remove AccountSetupIncoming's dependency on these
compileOnly project(":mail:protocols:imap")
compileOnly project(":mail:protocols:webdav")
implementation project(':plugins:HoloColorPicker')
implementation project(':plugins:openpgp-api-lib:openpgp-api')
implementation "com.android.support:appcompat-v7:${versions.supportLibrary}"
implementation "com.takisoft.fix:preference-v7:${versions.preferencesFix}"
implementation "com.takisoft.fix:preference-v7-datetimepicker:${versions.preferencesFix}"
implementation "com.takisoft.fix:preference-v7-colorpicker:${versions.preferencesFix}"
implementation "com.takisoft.fix:preference-v7-ringtone:${versions.preferencesFix}"
implementation "com.android.support:recyclerview-v7:${versions.supportLibrary}"
implementation "android.arch.lifecycle:extensions:${versions.lifecycleExtensions}"
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"
implementation "com.xwray:groupie:2.1.0"
implementation "com.xwray:groupie-kotlin-android-extensions:2.1.0"
implementation 'com.mikepenz:materialdrawer:6.0.7'
implementation 'com.mikepenz:fontawesome-typeface:5.3.1.1@aar'
implementation 'com.github.ByteHamster:SearchPreference:v1.1.4'
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}"
implementation "org.jetbrains.anko:anko-coroutines:0.10.4"
testImplementation project(':mail:testing')
testImplementation project(':app:storage')
testImplementation project(':app:testing')
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
targetSdkVersion 23
}
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
}
kotlin {
experimental {
coroutines "enable"
}
}