thunderbird-android/mail/common/build.gradle

57 lines
1.8 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'
apply from: "${rootProject.projectDir}/gradle/plugins/checkstyle-android.gradle"
apply from: "${rootProject.projectDir}/gradle/plugins/findbugs-android.gradle"
if (rootProject.testCoverage) {
apply plugin: 'jacoco'
}
2014-12-20 00:09:49 +00:00
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${versions.kotlin}"
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}"
2019-02-09 04:23:37 +00:00
implementation "androidx.annotation:annotation:${versions.androidxAnnotation}"
implementation "com.jakewharton.timber:timber:${versions.timber}"
2019-02-09 04:23:37 +00:00
androidTestImplementation "androidx.test:runner:${versions.androidxTestRunner}"
androidTestImplementation "com.madgag.spongycastle:pg:1.51.0.0"
testImplementation project(":mail: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}"
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
}
}