Integration test spec proves outputDirectory value is not being honoured when changed using dsl.

This commit is contained in:
Sion Williams
2015-07-27 22:03:19 +01:00
parent 5444253ed6
commit cafa0d6578
3 changed files with 74 additions and 2 deletions

View File

@@ -27,10 +27,10 @@ buildscript {
classpath "com.gradle.publish:plugin-publish-plugin:0.9.0"
}
}
/*
plugins {
id 'nu.studer.plugindev' version '1.0.3'
}
}*/
apply plugin: 'idea'
apply plugin: 'groovy'
@@ -62,3 +62,20 @@ apply from: 'conf/publish/local.gradle'
//apply from: 'conf/publish/maven.gradle'
apply from: 'conf/publish/gradlePluginsPortal.gradle'
//apply from: 'conf/publish/bintray.gradle' // according to the documentation of plugindev, this line has to be placed and the very end of the build file
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) {
group = 'verification'
testClassesDir = sourceSets.integTest.output.classesDir
classpath = sourceSets.integTest.runtimeClasspath
reports.html.destination = file("$buildDir/reports/integ")
jvmArgs '-XX:MaxPermSize=256m'
}