File: java-library.gradle

package info (click to toggle)
mockito 2.23.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 5,644 kB
  • sloc: java: 44,519; xml: 48; makefile: 4
file content (31 lines) | stat: -rw-r--r-- 564 bytes parent folder | download
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.6
targetCompatibility = 1.6

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")
    }
}