Open groszeq opened 8 years ago
Thanks for the report.
Can you put together a pull request with the suggested fix?
Ok, I will try to put something together during next few days.
FWIW I looked a bit at this, and cannot figure out how to get access to GroovySourceSet/ScalaSourceSet. They seem to be created by their plugins, unavailable from any configuration/extension.
If I try to apply both Groovy and Java plugins, the SourceSet instance I can access is of type org.gradle.api.internal.tasks.DefaultSourceSet_Decorated which doesn't help me much.
Usage of mainSourceSet.getAllJava() is the culprit here. Gradle groovy plugin ads getAllGroovy() and scala plugin ads getAllScala() methods and they must be used for Enunciate to work. AFAIK it should be able to handle at least groovy.