thunderbird-android/mail/common/build.gradle
2022-05-02 20:05:00 +02:00

31 lines
1.1 KiB
Groovy

apply plugin: 'java-library'
apply plugin: 'kotlin'
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"
}