Skip to content

Commit

Permalink
Move protoc artefact to version catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
oas004 committed Sep 16, 2024
1 parent 625e18a commit 12ac765
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ai/sample/core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ android {

protobuf {
protoc {
artifact = "com.google.protobuf:protoc:4.28.1"
artifact = libs.protobuf.protoc.get().toString()
}
plugins {
create("javalite") {
Expand Down
2 changes: 1 addition & 1 deletion auth/sample/shared/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ android {

protobuf {
protoc {
artifact = "com.google.protobuf:protoc:4.28.1"
artifact = libs.protobuf.protoc.get().toString()
}
plugins {
create("javalite") {
Expand Down
2 changes: 1 addition & 1 deletion datalayer/core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ android {

protobuf {
protoc {
artifact = "com.google.protobuf:protoc:4.28.1"
artifact = libs.protobuf.protoc.get().toString()
}
plugins {
id("javalite") {
Expand Down
1 change: 1 addition & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ playservices-auth = { module = "com.google.android.gms:play-services-auth", vers
playservices-base = "com.google.android.gms:play-services-base:18.5.0"
playservices-wearable = "com.google.android.gms:play-services-wearable:18.2.0"
protobuf-kotlin-lite = { module = "com.google.protobuf:protobuf-kotlin-lite", version.ref = "protobuf" }
protobuf-protoc = { module = "com.google.protobuf:protoc", version.ref = "protobuf" }
retrofit2-convertermoshi = { module = "com.squareup.retrofit2:converter-moshi", version.ref = "com-squareup-retrofit2" }
retrofit2-retrofit = { module = "com.squareup.retrofit2:retrofit", version.ref = "com-squareup-retrofit2" }
robolectric = { module = "org.robolectric:robolectric", version.ref = "org-robolectric" }
Expand Down

0 comments on commit 12ac765

Please sign in to comment.