File: java-library.gradle

package info (click to toggle)
mockito 3.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,068 kB
  • sloc: java: 48,664; xml: 48; makefile: 5
file content (31 lines) | stat: -rw-r--r-- 564 bytes parent folder | download | duplicates (2)
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")
    }
}