diff --git a/build.gradle b/build.gradle index 06b4e1fd53..00618febf1 100644 --- a/build.gradle +++ b/build.gradle @@ -100,6 +100,7 @@ allprojects { .exclude('**/org/apache/eventmesh/connector/openfunction/client/EventMeshGrpcService**') .exclude('**/org/apache/eventmesh/connector/openfunction/client/CallbackServiceGrpc**') .exclude('**/org/apache/eventmesh/connector/jdbc/antlr**') + .exclude('**/org/apache/eventmesh/meta/raft/rpc/**') dependencies { repositories { diff --git a/eventmesh-meta/eventmesh-meta-raft/build.gradle b/eventmesh-meta/eventmesh-meta-raft/build.gradle index f41fbaea3f..e3fb2f6bf9 100644 --- a/eventmesh-meta/eventmesh-meta-raft/build.gradle +++ b/eventmesh-meta/eventmesh-meta-raft/build.gradle @@ -16,13 +16,15 @@ */ plugins { - id 'com.google.protobuf' version '0.8.17' + id 'com.google.protobuf' version '0.9.4' } -def grpcVersion = '1.50.2' // CURRENT_GRPC_VERSION +def grpcVersion = '1.64.0' def protobufVersion = '3.25.3' def protocVersion = protobufVersion +def jraftVersion = '1.3.14' + dependencies { implementation ("io.grpc:grpc-protobuf:${grpcVersion}") { exclude group: "com.google.protobuf", module: "protobuf-java" @@ -36,8 +38,8 @@ dependencies { implementation project(":eventmesh-meta:eventmesh-meta-api") implementation project(":eventmesh-common") - implementation "com.alipay.sofa:jraft-core:1.3.14" - implementation "com.alipay.sofa:rpc-grpc-impl:1.3.14" + implementation "com.alipay.sofa:jraft-core:${jraftVersion}" + implementation "com.alipay.sofa:rpc-grpc-impl:${jraftVersion}" testImplementation 'org.junit.jupiter:junit-jupiter' } diff --git a/eventmesh-protocol-plugin/eventmesh-protocol-grpc/build.gradle b/eventmesh-protocol-plugin/eventmesh-protocol-grpc/build.gradle index a74312ee90..191e62cdac 100644 --- a/eventmesh-protocol-plugin/eventmesh-protocol-grpc/build.gradle +++ b/eventmesh-protocol-plugin/eventmesh-protocol-grpc/build.gradle @@ -24,7 +24,7 @@ repositories { mavenCentral() } -def grpcVersion = '1.64.0' // CURRENT_GRPC_VERSION +def grpcVersion = '1.64.0' def protobufVersion = '3.25.3' def protocVersion = protobufVersion