diff --git a/gradle.properties b/gradle.properties index 34ff1ec7..555ad16a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,5 @@ org.gradle.jvmargs=-Djavax.xml.accessExternalSchema=all luceneVersion=8.2.0 mongoDriverVersion=3.11.0 -grpcVersion=1.23.0 \ No newline at end of file +grpcVersion=1.23.0 +protobufVersion=3.9.0 \ No newline at end of file diff --git a/zulia-common/build.gradle.kts b/zulia-common/build.gradle.kts index 78525b72..04a9d355 100644 --- a/zulia-common/build.gradle.kts +++ b/zulia-common/build.gradle.kts @@ -13,6 +13,7 @@ description = "Zulia Common" val grpcVersion: String by project val mongoDriverVersion: String by project +val protobufVersion: String by project dependencies { @@ -29,7 +30,7 @@ dependencies { protobuf { protoc { - artifact = "com.google.protobuf:protoc:3.7.1" + artifact = "com.google.protobuf:protoc:$protobufVersion" } plugins { id("grpc") { diff --git a/zulia-server/build.gradle.kts b/zulia-server/build.gradle.kts index 9343c739..102e3292 100644 --- a/zulia-server/build.gradle.kts +++ b/zulia-server/build.gradle.kts @@ -6,6 +6,7 @@ description = "Zulia Server" val luceneVersion: String by project val mongoDriverVersion: String by project +val protobufVersion: String by project defaultTasks("build", "installDist") @@ -27,7 +28,7 @@ dependencies { compile("javax.xml.bind:jaxb-api:2.3.0") compile("javax.annotation:javax.annotation-api:1.3.2") - compile("com.google.protobuf:protobuf-java-util:3.7.1") + compile("com.google.protobuf:protobuf-java-util:$protobufVersion") compile("com.cedarsoftware:json-io:4.10.1")