At the moment if you need to generate sources, you typically create a dependencies between the compile task of the java source set and the task that generates the sources. Our antlr plugin does the same. It is a very common use case in the enterprise. I think a SourceSet functionality like we have for generate resources would be a much nicer solution.
Thoughts? Hans -- Hans Dockter Founder, Gradle http://www.gradle.org, http://twitter.com/gradleware CEO, Gradleware - Gradle Training, Support, Consulting http://www.gradleware.com
