rsocket / rsocket-rpc-java

Standard RSocket RPC Java Implementation
http://rsocket.io/
Apache License 2.0
172 stars 41 forks source link

Compile with JetBrains / gradle-intellij-plugin fails #57

Closed d-wojciechowski closed 4 years ago

d-wojciechowski commented 4 years ago

Expected Behavior

A project with both gradle-intellij-plugin and rsocket-rpc compile successfully.

Current Behavior

When both gradle-intellij-plugin and rsocket-rpc are configured in Gradle build file, build process fails on compileJava with the following message (for readability on Pastebin, and attached below) out-error.log out.log Pastebin

Steps to Reproduce

  1. Pull example repository github
  2. install protoc on your machine (please follow this link protobuf or use a handy tool like chocolatey
  3. Import project to IntelliJ IDEA
  4. Execute Gradle tasks "clean" and "build"
  5. Observe error message on the console 😉
  6. Copy contents from "buildWithoutIntellijPlugin.gradle.kts" to "build.gradle.kts"
  7. Execute Gradle tasks "clean" and "build"
  8. Build should pass this time.

Context (Environment)

I am implementing opensource plugin to IntelliJ idea which will connect to another program on another machine via rsocket-rpc. I need to have generated and compiled java files o be able to use RPC goodness.

Detailed Description

I have no experience in Gradle plugin development and I am not able to find out where exactly the problem is. Maybe in the debug session, there would be a possibility to find an exact solution

gregwhitaker commented 4 years ago

This looks like it may be an issue with the version of protoc. I'll take a look at it and see what I can find.

d-wojciechowski commented 4 years ago

Hey, It seems that it may not be related to rsocket-rpc-java. issue on gradle-intellij-plugin

I am not sure what may be the followup of this ticket. Should I close it?