Skip to content

Commit 3fd8e9b

Browse files
l46kokcopybara-github
authored andcommitted
Bring in android artifacts for guava and protobuf in WORKSPACE
PiperOrigin-RevId: 724603618
1 parent c573186 commit 3fd8e9b

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

WORKSPACE

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,17 +122,17 @@ load("@rules_jvm_external//:defs.bzl", "maven_install")
122122

123123
### end of rules_jvm_external setup
124124

125-
# Important: there can only be one maven_install rule. Add new maven deps here.
126125
ANTLR4_VERSION = "4.13.2"
127126
maven_install(
127+
name = "maven",
128128
# keep sorted
129129
artifacts = [
130130
"com.google.auto.value:auto-value:1.11.0",
131131
"com.google.auto.value:auto-value-annotations:1.11.0",
132132
"com.google.code.findbugs:annotations:3.0.1",
133133
"com.google.errorprone:error_prone_annotations:2.36.0",
134-
"com.google.guava:guava:33.3.1-jre",
135-
"com.google.guava:guava-testlib:33.3.1-jre",
134+
"com.google.guava:guava:33.4.0-jre",
135+
"com.google.guava:guava-testlib:33.4.0-jre",
136136
"com.google.protobuf:protobuf-java:4.29.3",
137137
"com.google.protobuf:protobuf-java-util:4.29.3",
138138
"com.google.re2j:re2j:1.8",
@@ -151,6 +151,19 @@ maven_install(
151151
],
152152
)
153153

154+
maven_install(
155+
name = "maven_android",
156+
# keep sorted
157+
artifacts = [
158+
"com.google.guava:guava:33.4.0-android",
159+
"com.google.protobuf:protobuf-javalite:4.29.3",
160+
],
161+
repositories = [
162+
"https://maven.google.com",
163+
"https://repo1.maven.org/maven2",
164+
],
165+
)
166+
154167
### rules_android setup
155168
http_archive(
156169
name = "rules_android",

0 commit comments

Comments
 (0)