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.