thunderbird-android/mail/common/build.gradle

32 lines
1.2 KiB
Groovy

apply plugin: 'java-library'
apply plugin: 'kotlin'
apply plugin: 'com.android.lint'
if (rootProject.testCoverage) {
apply plugin: 'jacoco'
}
java {
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
}
dependencies {
api "org.jetbrains:annotations:${versions.jetbrainsAnnotations}"
implementation "org.apache.james:apache-mime4j-core:${versions.mime4j}"
implementation "org.apache.james:apache-mime4j-dom:${versions.mime4j}"
implementation "com.squareup.okio:okio:${versions.okio}"
implementation "commons-io:commons-io:${versions.commonsIo}"
implementation "com.squareup.moshi:moshi:${versions.moshi}"
// We're only using this for its DefaultHostnameVerifier
implementation "org.apache.httpcomponents.client5:httpclient5:5.1.3"
testImplementation project(":mail:testing")
testImplementation "junit:junit:${versions.junit}"
testImplementation "com.google.truth:truth:${versions.truth}"
testImplementation "org.mockito:mockito-inline:${versions.mockito}"
testImplementation "org.mockito.kotlin:mockito-kotlin:${versions.mockitoKotlin}"
testImplementation "com.ibm.icu:icu4j-charset:70.1"
}