Skip to content

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

@rubenfiszel

Description

@rubenfiszel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions