File: taskProperties.gradle

package info (click to toggle)
gradle 4.4.1-13
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 85,440 kB
  • sloc: java: 319,966; xml: 14,356; javascript: 4,838; cpp: 4,200; ansic: 1,025; sh: 300; makefile: 65; asm: 17; jsp: 17; objc: 10
file content (9 lines) | stat: -rw-r--r-- 437 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
afterEvaluate {
    task validateTaskProperties(type: org.gradle.plugin.devel.tasks.ValidateTaskProperties) { validator ->
        validator.dependsOn sourceSets.main.output
        validator.classes = project.files(sourceSets.main.output.classDir)
        validator.classpath = sourceSets.main.runtimeClasspath
        validator.outputFile = "$buildDir/reports/task-properties/report.txt"
        validator.failOnWarning = true
    }
}