Narco wrote:
Hello!
In documentation there is no hints how to add more test types to project.
For example I have junit tests and I have special junit tests with special
resources and so on. I want compilation and testing results in separate
folders of course. If I use java plugin, what should I do know?
You can add more tasks of type Compile and Test after you've applied the
java plugin:
usePlugin 'java'
createTask('compileExtraTests', type: Compile, dependsOn: compile)
compileExtraTests {
... configure the compilation...
}
createTask('extraTests', type: Test, dependsOn: compileExtraTests)
extraTests {
... configure the tests...
}
You might find you'll need to do quite a bit of configuration for these
tasks. The upcoming Gradle 0.6 release will make this much easier. And
0.7 even easier again.
Adam
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email