File: build.gradle

package info (click to toggle)
gradle-apt-plugin 0.10-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 188 kB
  • sloc: makefile: 2
file content (38 lines) | stat: -rw-r--r-- 997 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
32
33
34
35
36
37
38
apply plugin: 'java-gradle-plugin'
apply plugin: 'groovy'

group = 'net.ltgt.gradle'
version = '0.10'

if (JavaVersion.current().isJava9Compatible()) {
    tasks.withType(JavaCompile).all { options.compilerArgs.addAll(['-release', '7']) }
    tasks.withType(GroovyCompile).all { options.compilerArgs.addAll(['-release', '7']) }
}

dependencies {
    compile gradleApi()
    compile localGroovy()

    testCompile('com.netflix.nebula:nebula-test:5.0.0')
    testCompile('org.spockframework:spock-core:1.0-groovy-2.4') {
        exclude group: 'org.codehaus.groovy'
    }
    testCompile gradleTestKit()
}

wrapper {
  gradleVersion = "3.4"
}

test {
    inputs.file tasks.jar
    systemProperty("plugin", tasks.jar.archivePath)
    if (project.hasProperty("test.gradle-versions")) {
        systemProperty("test.gradle-versions", project.property("test.gradle-versions"))
    }
    testLogging {
        showExceptions = true
        showStackTraces = true
        exceptionFormat = 'FULL'
    }
}