mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-08-08 07:40:39 -09:00
GP-5456: Upgrade protobuf to 4.31.0 (java) and 6.31.0 (python)
This commit is contained in:
@@ -24,38 +24,40 @@ configurations {
|
||||
|
||||
def platform = getCurrentPlatformName()
|
||||
|
||||
def version = getProperty('ghidra.protobuf.java.version')
|
||||
|
||||
|
||||
dependencies {
|
||||
allProtocArtifacts 'com.google.protobuf:protoc:3.21.8:windows-x86_64@exe'
|
||||
allProtocArtifacts 'com.google.protobuf:protoc:3.21.8:linux-x86_64@exe'
|
||||
allProtocArtifacts 'com.google.protobuf:protoc:3.21.8:linux-aarch_64@exe'
|
||||
allProtocArtifacts 'com.google.protobuf:protoc:3.21.8:osx-x86_64@exe'
|
||||
allProtocArtifacts 'com.google.protobuf:protoc:3.21.8:osx-aarch_64@exe'
|
||||
allProtocArtifacts "com.google.protobuf:protoc:${version}:windows-x86_64@exe"
|
||||
allProtocArtifacts "com.google.protobuf:protoc:${version}:linux-x86_64@exe"
|
||||
allProtocArtifacts "com.google.protobuf:protoc:${version}:linux-aarch_64@exe"
|
||||
allProtocArtifacts "com.google.protobuf:protoc:${version}:osx-x86_64@exe"
|
||||
allProtocArtifacts "com.google.protobuf:protoc:${version}:osx-aarch_64@exe"
|
||||
|
||||
if (isCurrentWindows()) {
|
||||
protocArtifact 'com.google.protobuf:protoc:3.21.8:windows-x86_64@exe'
|
||||
protocArtifact "com.google.protobuf:protoc:${version}:windows-x86_64@exe"
|
||||
}
|
||||
if (isCurrentLinux()) {
|
||||
if (platform.endsWith("x86_64")) {
|
||||
protocArtifact 'com.google.protobuf:protoc:3.21.8:linux-x86_64@exe'
|
||||
protocArtifact "com.google.protobuf:protoc:${version}:linux-x86_64@exe"
|
||||
}
|
||||
else {
|
||||
protocArtifact 'com.google.protobuf:protoc:3.21.8:linux-aarch_64@exe'
|
||||
protocArtifact "com.google.protobuf:protoc:${version}:linux-aarch_64@exe"
|
||||
}
|
||||
}
|
||||
if (isCurrentMac()) {
|
||||
if (platform.endsWith("x86_64")) {
|
||||
protocArtifact 'com.google.protobuf:protoc:3.21.8:osx-x86_64@exe'
|
||||
protocArtifact "com.google.protobuf:protoc:${version}:osx-x86_64@exe"
|
||||
}
|
||||
else {
|
||||
protocArtifact 'com.google.protobuf:protoc:3.21.8:osx-aarch_64@exe'
|
||||
protocArtifact "com.google.protobuf:protoc:${version}:osx-aarch_64@exe"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*protobuf {
|
||||
protoc {
|
||||
artifact = 'com.google.protobuf:protoc:3.21.8'
|
||||
artifact = 'com.google.protobuf:protoc:${version}'
|
||||
}
|
||||
}*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user