-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
56 lines (45 loc) · 1.37 KB
/
build.gradle
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
apply plugin: 'idea'
apply plugin: 'groovy'
apply plugin: 'maven'
apply from: "$rootDir/gradle/jacoco.gradle"
apply from: "$rootDir/gradle/sonar.gradle"
apply from: "$rootDir/gradle/groovydoc.gradle"
group = 'com.iadams'
version = '0.1.3'
description = "Gradle plugin for Pldoc"
sourceCompatibility = 1.6
targetCompatibility = 1.6
repositories {
jcenter()
mavenCentral()
}
dependencies {
compile localGroovy()
compile gradleApi()
compile "net.sourceforge.pldoc:pldoc:1.5.15"
testCompile 'com.netflix.nebula:nebula-test:1.12.+'
}
sourceSets {
integTest {
groovy.srcDir file('src/integTest/groovy')
resources.srcDir file('src/integTest/resources')
compileClasspath = sourceSets.main.output + configurations.testRuntime
runtimeClasspath = output + compileClasspath
}
}
task integTest(type: Test) {
testClassesDir = sourceSets.integTest.output.classesDir
classpath = sourceSets.integTest.runtimeClasspath
reports.html.destination = file("$buildDir/reports/integ")
}
integTest.mustRunAfter test
check.dependsOn integTest
task testReport(type: TestReport) {
destinationDir = file("$buildDir/reports/allTests")
// Include the results from the `test` task in all subprojects
reportOn test, integTest
}
task jacocoIntegTestReport(type: JacocoReport) {
sourceSets sourceSets.main
executionData integTest
}