1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
apply plugin: "java"
group = 'org.mockito'
if (!archivesBaseName.startsWith("mockito-")) {
archivesBaseName = "mockito-" + project.name
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
test {
include "**/*Test.class"
testLogging {
exceptionFormat 'full'
showCauses true
}
}
apply from: "$rootDir/gradle/retry-test.gradle"
tasks.withType(Checkstyle) {
reports {
xml.enabled false
html.enabled true
html.stylesheet resources.text.fromFile("$rootDir/config/checkstyle/checkstyle.xsl")
}
}
|