
Some parts of this message have been removed.
Learn more about Nabble's
security policy.
[10436] gant/trunk/build.gradle: Adam Murdoch pointed out the neater way of expressing the system property for the test execution.
- Revision
- 10436
- Author
- russel
- Date
- 2009-11-01 07:01:09 -0600 (Sun, 01 Nov 2009)
Log Message
Adam Murdoch pointed out the neater way of expressing the system property for the test execution.
Modified Paths
Diff
Modified: gant/trunk/build.gradle (10435 => 10436)
--- gant/trunk/build.gradle 2009-10-18 20:38:20 UTC (rev 10435)
+++ gant/trunk/build.gradle 2009-11-01 13:01:09 UTC (rev 10436)
@@ -101,9 +101,7 @@
// builds happen in subdirectories. org.codehaus.gant.ant.tests.Gant_Test has a decision to make, it
// needs to know whether this is a Gradle build or not. Use a property.
//
- // This seems like an ugly way of setting properties in the forked test JVM.
- //
- options.fork ( jvmArgs: [ "-DbuildFrameworkIdentifier=Gradle" ] )
+ options.systemProperties['buildFrameworkIdentifier'] = 'Gradle'
doLast { groovyAntTaskTestVersionPropertyFile.delete ( ) }
}
clean.doLast {
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email