apply plugin: 'java-library' if (rootProject.testCoverage) { apply plugin: 'jacoco' } java { sourceCompatibility = javaVersion targetCompatibility = javaVersion } dependencies { api project(":mail:common") implementation "commons-io:commons-io:${versions.commonsIo}" compileOnly "org.apache.httpcomponents:httpclient:4.5.5" testImplementation project(":mail:testing") testImplementation "junit:junit:${versions.junit}" testImplementation "com.google.truth:truth:${versions.truth}" testImplementation "org.mockito:mockito-inline:${versions.mockito}" testImplementation "org.apache.httpcomponents:httpclient:4.5.5" }