AFAIK, Gradle only automatically handles "main" and "test" (really, the JavaBase plugin handles those). For your number 1 case, we use a directory named "test-manual" and just add a new sourceSet for that directory. It's not very hard, something like
sourceSet {
'test-manual'
}
something like that (the user's guide talks about this). This will give you
some tasks automatically, such as a compileTestManualJava task for instance.
--
John Murph
Automated Logic Research Team
