On 26/10/2010, at 5:38 AM, Tomek Kaczanowski wrote:
>> this used to work with Gradle (I think with some previous 0.9):
>> test {
>> useTestNG()
>> systemProperties ["net.sourceforge.cobertura.datafile": cobSerFile]
>> }
>>
>>
>> I can't get this to work with any version of Gradle, any chance you can
>> remember which version this worked on?
> Hm, 0.8 maybe? I'm 100% percent sure it worked. I even put it in
> cookbook some time ago (and I put there only stuff that was previously
> tested).
It doesn't seem to work with 0.8. You need to do something like:
test {
useTestNG()
options.systemProperties = ['property': 'value']
}
--
Adam Murdoch
Gradle Developer
http://www.gradle.org
CTO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz