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

Confusing that the conjureJava configuration is only valid if a project with the proper suffix exist #83

Open
rubenfiszel opened this issue Nov 26, 2018 · 1 comment

Comments

@rubenfiszel
Copy link
Contributor

rubenfiszel commented Nov 26, 2018

What happened?

I had not added the project with a java suffix yet but following the getting_started guide. I got stuck with gradle saying the conjureJava configuration did not exist without any informative error.

This is the guilty line:

if (javaProjectSuffixes.stream().anyMatch(suffix -> project.findProject(project.getName() + suffix) != null)) {

What did you want to happen?

Maybe we could consider that the configuration should be set irrelevant of the project existing or not, but that configuration having a non-empty classpath or the project existence would be both flags and that if one is present but not the other, show an informative error.

@mieubrisse
Copy link

+1; was going through the Getting Started guide and this broke for me without any info on how to fix

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

No branches or pull requests

2 participants