lhotari opened a new pull request #3107:
URL: https://github.com/apache/bookkeeper/pull/3107


   Descriptions of the changes in this PR:
   
   ### Motivation
   
   IntelliJ shows compilation errors for BookKeeper code that references 
Protobuf generated classes after importing the BookKeeper project to IntelliJ 
IDEA.
   
   ### Changes
   
   - Set generated code directory for protobuf gradle plugin to 
`${projectDir}/src/generated` so that code gets generated to a path that isn't 
ignored in IntelliJ
   - Apply the 'idea' plugin before 'com.google.protobuf' plugin since the 
protobuf plugin will only setup source code paths for the generated code if 
idea plugin is present
   - [Use the `org.jetbrains.gradle.plugin.idea-ext` 
plugin](https://github.com/JetBrains/gradle-idea-ext-plugin/wiki#gradle-tasks-triggers-settings)
 to run the `generateProto` tasks automatically after importing / refreshing 
the Gradle project in IntelliJ.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to