google / google/protobuf-gradle-plugin

How to set output directory for generated Java files.

Open
#682 9 comments 1 reaction 0 assignees View on GitHub
Dominant language
Groovy
Stars
1.8k
Forks
288
PR merge metrics
No merged PRs in 30d

Description

Hello,

first thanks for your work. I'm pretty new to Gradle, coming from Maven, and find no way to set the output directory for the generated Java files. In the moment they are copied to the build folder (working with Intellij by the way), but that does not make any sense to me. I need the compiled .class files in the build directory and the Java files in my src/... folder. I want to copy them to a specific location to use them in a Apache Kafka Streams app. Sorry to say, but in Maven this is a 5 minutes job. Can not be that difficult to configure the generation path or do I miss something here?

Any help is welcome. Thanks in advance.

Best Martin

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.