Skip to content

Commit

Permalink
chore: downgrading com.google.protobuf to 3.12.0
Browse files Browse the repository at this point in the history
Signed-off-by: Ahmed Moussa <[email protected]>
  • Loading branch information
hamada147 committed May 13, 2024
1 parent cf992ce commit 1613db8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions protosLib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies {
jarPathConf("io.iohk.atala:pbandk-prism-clients-generator:0.20.7")

// This is needed for includes, ref: https://github.com/google/protobuf-gradle-plugin/issues/41#issuecomment-143884188
compileOnly("com.google.protobuf:protobuf-java:3.21.9")
compileOnly("com.google.protobuf:protobuf-java:3.12.0")
}

sourceSets {
Expand All @@ -45,12 +45,12 @@ protobuf {
artifact = if (os.isMacOsX) {
if (System.getProperty("os.arch") != "x86_64") {
// In case of macOS and M1 chip then we need to use a different version of protobuf that support M1 chip arch
"com.google.protobuf:protoc:3.21.9:osx-x86_64" // "com.google.protobuf:protoc:3.12.0:osx-x86_64"
"com.google.protobuf:protoc:3.12.0:osx-x86_64" // "com.google.protobuf:protoc:3.12.0:osx-x86_64"
} else {
"com.google.protobuf:protoc:3.21.9"
"com.google.protobuf:protoc:3.12.0"
}
} else {
"com.google.protobuf:protoc:3.21.9"
"com.google.protobuf:protoc:3.12.0"
}
}
plugins {
Expand Down

0 comments on commit 1613db8

Please sign in to comment.