mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-30 05:02:26 -05:00
66 lines
1.7 KiB
Groovy
66 lines
1.7 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply from: '../gradle/plugins/checkstyle-android.gradle'
|
|
apply from: '../gradle/plugins/findbugs-android.gradle'
|
|
apply plugin: 'jacoco'
|
|
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
|
|
dependencies {
|
|
compile 'org.apache.james:apache-mime4j-core:0.7.2'
|
|
compile 'org.apache.james:apache-mime4j-dom:0.7.2'
|
|
compile 'commons-io:commons-io:2.4'
|
|
compile 'com.jcraft:jzlib:1.0.7'
|
|
compile 'com.beetstra.jutf7:jutf7:1.0.0'
|
|
|
|
androidTestCompile 'com.android.support.test:testing-support-lib:0.1'
|
|
androidTestCompile 'com.madgag.spongycastle:pg:1.51.0.0'
|
|
|
|
testCompile('org.robolectric:robolectric:3.0-rc3') {
|
|
exclude group: 'org.hamcrest', module: 'hamcrest-core'
|
|
}
|
|
testCompile 'org.hamcrest:hamcrest-core:1.3'
|
|
testCompile('junit:junit:4.10') {
|
|
exclude group: 'org.hamcrest', module: 'hamcrest-core'
|
|
}
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 21
|
|
buildToolsVersion '21.1.2'
|
|
|
|
defaultConfig {
|
|
minSdkVersion 15
|
|
targetSdkVersion 21
|
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
testCoverageEnabled rootProject.testCoverage
|
|
}
|
|
}
|
|
|
|
lintOptions {
|
|
abortOnError true
|
|
warningsAsErrors true
|
|
lintConfig file("$rootProject.projectDir/config/lint/lint.xml")
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_6
|
|
targetCompatibility JavaVersion.VERSION_1_6
|
|
}
|
|
|
|
packagingOptions {
|
|
exclude 'META-INF/DEPENDENCIES'
|
|
exclude 'META-INF/LICENSE'
|
|
exclude 'META-INF/LICENSE.txt'
|
|
exclude 'META-INF/NOTICE'
|
|
exclude 'META-INF/NOTICE.txt'
|
|
exclude 'LICENSE.txt'
|
|
}
|
|
}
|