chore(version): bump protobuf version (#11446)

This commit is contained in:
david-leifker 2024-09-20 14:06:31 -05:00 committed by GitHub
parent 6af5c61907
commit 2ceb8e0934
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 7 deletions

View File

@ -225,7 +225,7 @@ project.ext.externalDependency = [
'pac4j': 'org.pac4j:pac4j-oidc:4.5.8',
'playPac4j': 'org.pac4j:play-pac4j_2.12:9.0.2',
'postgresql': 'org.postgresql:postgresql:42.3.9',
'protobuf': 'com.google.protobuf:protobuf-java:3.19.6',
'protobuf': 'com.google.protobuf:protobuf-java:3.25.5',
'grpcProtobuf': 'io.grpc:grpc-protobuf:1.53.0',
'rangerCommons': 'org.apache.ranger:ranger-plugins-common:2.3.0',
'reflections': 'org.reflections:reflections:0.9.9',

View File

@ -13,8 +13,8 @@ repositories {
}
ext {
protobuf_version = '3.19.3'
datahub_protobuf_version = '0.8.45-SNAPSHOT'
protobuf_version = '3.25.5'
datahub_protobuf_version = '0.14.1'
}
configurations {
@ -69,10 +69,9 @@ task publishSchema(dependsOn: build) {
}.each { f ->
doLast {
javaexec {
executable = javaLauncher.get().getExecutablePath().getAsFile().getAbsolutePath()
classpath = configurations.datahub
main = "datahub.protobuf.Proto2DataHub"
args = ["--descriptor", "${projectDir}/build/descriptors/main.dsc", "--file", file(f).getAbsoluteFile()]
mainClass = "datahub.protobuf.Proto2DataHub"
args = ["--descriptor", "${projectDir}/build/descriptors/main.dsc", "--file", file(f).absolutePath]
}
}
}