Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work when groovy and/or scala sources are present. #8

Open
groszeq opened this issue Jun 3, 2016 · 3 comments
Open

Doesn't work when groovy and/or scala sources are present. #8

groszeq opened this issue Jun 3, 2016 · 3 comments

Comments

@groszeq
Copy link

groszeq commented Jun 3, 2016

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.

@groszeq groszeq changed the title Doesn't work when groocy and/or scala sources are present. Doesn't work when groovy and/or scala sources are present. Jun 3, 2016
@stoicflame
Copy link
Owner

Thanks for the report.

Can you put together a pull request with the suggested fix?

@groszeq
Copy link
Author

groszeq commented Jun 5, 2016

Ok, I will try to put something together during next few days.

@jskov-jyskebank-dk
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants