Skip to content
This repository was archived by the owner on Aug 13, 2019. It is now read-only.
This repository was archived by the owner on Aug 13, 2019. It is now read-only.

Java plugin's generated code not discovered by IntelliJ #3

@jpd236

Description

@jpd236

Unlike the Android plugin, the Java gradle plugin doesn't seem to provide a way to configure a directory as a generated source directory so that it gets picked up by the IDE as source, and have it generated when you click "Sync Now". See square/wire#177 (comment) for the original report.

There are some hacky workarounds at http://stackoverflow.com/questions/16702126/how-to-specify-intellij-exclude-directories-using-gradle but none of them are particularly appealing. Notably, the question author there says they're using a protobuf plugin (not this one, ostensibly) that has this same problem.

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