2014-12-20 00:09:49 +00:00
|
|
|
apply plugin: 'com.android.library'
|
2014-12-20 00:49:09 +00:00
|
|
|
apply from: '../gradle/plugins/checkstyle-android.gradle'
|
|
|
|
apply from: '../gradle/plugins/findbugs-android.gradle'
|
2015-05-21 12:52:50 +00:00
|
|
|
apply plugin: 'jacoco'
|
2014-12-20 00:09:49 +00:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile 'org.apache.james:apache-mime4j-core:0.7.2'
|
|
|
|
compile 'org.apache.james:apache-mime4j-dom:0.7.2'
|
2014-12-22 21:36:50 +00:00
|
|
|
compile 'commons-io:commons-io:2.4'
|
2014-12-20 00:09:49 +00:00
|
|
|
compile 'com.jcraft:jzlib:1.0.7'
|
|
|
|
compile 'com.beetstra.jutf7:jutf7:1.0.0'
|
2015-05-20 21:48:30 +00:00
|
|
|
|
|
|
|
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'
|
|
|
|
}
|
2014-12-20 00:09:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 21
|
|
|
|
buildToolsVersion '21.1.2'
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 15
|
2015-01-05 22:24:24 +00:00
|
|
|
targetSdkVersion 21
|
2015-05-20 21:48:30 +00:00
|
|
|
|
|
|
|
testInstrumentationRunner "android.support.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-01-05 22:24:24 +00:00
|
|
|
abortOnError true
|
|
|
|
warningsAsErrors true
|
2014-12-20 00:09:49 +00:00
|
|
|
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'
|
2015-05-20 21:48:30 +00:00
|
|
|
exclude 'LICENSE.txt'
|
2014-12-20 00:09:49 +00:00
|
|
|
}
|
|
|
|
}
|