thunderbird-android/mail/common/build.gradle

55 lines
1.6 KiB
Groovy
Raw Normal View History

2014-12-20 00:09:49 +00:00
apply plugin: 'com.android.library'
2018-05-23 17:45:46 +00:00
apply plugin: 'org.jetbrains.kotlin.android'
if (rootProject.testCoverage) {
apply plugin: 'jacoco'
}
2014-12-20 00:09:49 +00:00
dependencies {
api "org.jetbrains:annotations:${versions.jetbrainsAnnotations}"
2018-07-08 01:27:52 +00:00
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}"
testImplementation project(":mail:testing")
testImplementation "junit:junit:${versions.junit}"
testImplementation "com.google.truth:truth:${versions.truth}"
2022-02-03 00:10:52 +00:00
testImplementation "org.mockito:mockito-inline:${versions.mockito}"
2021-04-21 23:57:38 +00:00
testImplementation "org.mockito.kotlin:mockito-kotlin:${versions.mockitoKotlin}"
testImplementation "com.ibm.icu:icu4j-charset:70.1"
2014-12-20 00:09:49 +00:00
}
android {
compileSdkVersion buildConfig.compileSdk
buildToolsVersion buildConfig.buildTools
2014-12-20 00:09:49 +00:00
defaultConfig {
minSdkVersion buildConfig.minSdk
2019-02-09 04:23:37 +00:00
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
2014-12-20 00:09:49 +00:00
}
2015-05-21 12:52:50 +00:00
buildTypes {
debug {
testCoverageEnabled rootProject.testCoverage
}
}
2014-12-20 00:09:49 +00:00
lintOptions {
2015-12-22 17:13:05 +00:00
abortOnError false
2014-12-20 00:09:49 +00:00
lintConfig file("$rootProject.projectDir/config/lint/lint.xml")
}
compileOptions {
sourceCompatibility javaVersion
targetCompatibility javaVersion
2014-12-20 00:09:49 +00:00
}
kotlinOptions {
jvmTarget = kotlinJvmVersion
}
2014-12-20 00:09:49 +00:00
}