Skip to content

Commit

Permalink
Merge pull request bisq-network#1 from wiz/grpc
Browse files Browse the repository at this point in the history
Compilation fixes
  • Loading branch information
chimp1984 authored Nov 10, 2019
2 parents 5667614 + b4a1f3c commit 9066909
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,8 @@ configure(project(':statsnode')) {
configure(project(':grpc')) {
apply plugin: 'com.google.protobuf'

mainClassName = 'bisq.grpc.BisqGrpcServerMain'

sourceSets.main.java.srcDir "$buildDir/generated/source/proto/main/java"

protobuf {
Expand Down
5 changes: 3 additions & 2 deletions grpc/src/main/java/bisq/grpc/BisqGrpcClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@

import lombok.extern.slf4j.Slf4j;



import bisq.grpc.protobuf.GetBalanceRequest;
import bisq.grpc.protobuf.GetVersionRequest;
import bisq.grpc.protobuf.StopServerRequest;
import bisq.grpc.protobuf.GetBalanceGrpc;
import bisq.grpc.protobuf.GetVersionGrpc;
import bisq.grpc.protobuf.StopServerGrpc;
import io.grpc.ManagedChannel;
import io.grpc.ManagedChannelBuilder;
import io.grpc.StatusRuntimeException;
Expand Down
5 changes: 3 additions & 2 deletions grpc/src/main/java/bisq/grpc/BisqGrpcServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@

import lombok.extern.slf4j.Slf4j;



import bisq.grpc.protobuf.GetBalanceReply;
import bisq.grpc.protobuf.GetBalanceRequest;
import bisq.grpc.protobuf.GetBalanceGrpc;
import bisq.grpc.protobuf.GetVersionReply;
import bisq.grpc.protobuf.GetVersionRequest;
import bisq.grpc.protobuf.GetVersionGrpc;
import bisq.grpc.protobuf.StopServerReply;
import bisq.grpc.protobuf.StopServerRequest;
import bisq.grpc.protobuf.StopServerGrpc;
import io.grpc.Server;
import io.grpc.ServerBuilder;
import io.grpc.stub.StreamObserver;
Expand Down

0 comments on commit 9066909

Please sign in to comment.