with the current special testing support, one can do it along these lines:
(all files are one-liners)
settings.gradle // include "main","test"
build.gradle // allprojects { apply plugin:"java" }
|
+-- main
| build.gradle // empty placeholder
+-- test
build.gradle // test.dependsOn ":main:build"
You can start the tests via
gradle test
.
But my point is a bit different.
The current design makes testing a special concept
and I'm not sure whether this makes things simpler
or more complex...
> I can envision what you are doing here.. and i'm about to embark on a "Gradle
> Journey" with a 4 module enterprise app.. and i'm trying my best to get as
> many gotchas taken care of before I jump 2 feet in :)
In this case I would forget all the above and
simply put my tests under src/test/java.
cheers
Dierk
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email