25 lines
745 B
Groovy
25 lines
745 B
Groovy
apply plugin: 'java-library'
|
|
apply plugin: 'kotlin'
|
|
|
|
if (rootProject.testCoverage) {
|
|
apply plugin: 'jacoco'
|
|
}
|
|
|
|
java {
|
|
sourceCompatibility = javaVersion
|
|
targetCompatibility = javaVersion
|
|
}
|
|
|
|
dependencies {
|
|
api project(":mail:common")
|
|
|
|
implementation "commons-io:commons-io:${versions.commonsIo}"
|
|
implementation "com.squareup.okio:okio:${versions.okio}"
|
|
|
|
testImplementation project(":mail:testing")
|
|
testImplementation "junit:junit:${versions.junit}"
|
|
testImplementation "com.google.truth:truth:${versions.truth}"
|
|
testImplementation "org.mockito.kotlin:mockito-kotlin:${versions.mockitoKotlin}"
|
|
testImplementation "com.squareup.okio:okio:${versions.okio}"
|
|
testImplementation "com.jcraft:jzlib:1.0.7"
|
|
}
|