rsocket / rsocket-rpc-java

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

rpc compiler: opt-in blocking api generation #48

Closed mostroverkhov closed 5 years ago

mostroverkhov commented 5 years ago

blocking api code generation is enabled with generate-blocking-api option. E.g. for gradle

    plugins {
        rsocketRpc {
            artifact = "io.rsocket.rpc:rsocket-rpc-protobuf:${rsocketRpcVersion}"
        }
        generateProtoTasks {
            ofSourceSet('main')*.plugins {
                rsocketRpc {
                    option "generate-blocking-api"
                }
            }
        }
    }

closes #47