Skip to content

Commit b8c661f

Browse files
committed
Apply deploy_env to all export targets
1 parent 20925d4 commit b8c661f

1 file changed

Lines changed: 21 additions & 3 deletions

File tree

publish/BUILD.bazel

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@ pom_file(
7272

7373
java_export(
7474
name = "cel",
75-
maven_coordinates = "dev.cel:cel:%s" % CEL_VERSION,
76-
pom_template = ":cel_pom",
77-
runtime_deps = ALL_TARGETS,
7875
deploy_env = [
7976
"@com_google_googleapis//google/api/expr/v1alpha1:expr_java_proto"
8077
],
78+
maven_coordinates = "dev.cel:cel:%s" % CEL_VERSION,
79+
pom_template = ":cel_pom",
80+
runtime_deps = ALL_TARGETS,
8181
)
8282

8383
pom_file(
@@ -94,6 +94,9 @@ pom_file(
9494

9595
java_export(
9696
name = "cel_compiler",
97+
deploy_env = [
98+
"@com_google_googleapis//google/api/expr/v1alpha1:expr_java_proto"
99+
],
97100
maven_coordinates = "dev.cel:compiler:%s" % CEL_VERSION,
98101
pom_template = ":cel_compiler_pom",
99102
runtime_deps = COMPILER_TARGETS,
@@ -113,6 +116,9 @@ pom_file(
113116

114117
java_export(
115118
name = "cel_runtime",
119+
deploy_env = [
120+
"@com_google_googleapis//google/api/expr/v1alpha1:expr_java_proto"
121+
],
116122
maven_coordinates = "dev.cel:runtime:%s" % CEL_VERSION,
117123
pom_template = ":cel_runtime_pom",
118124
runtime_deps = RUNTIME_TARGETS,
@@ -132,6 +138,9 @@ pom_file(
132138

133139
java_export(
134140
name = "cel_extensions",
141+
deploy_env = [
142+
"@com_google_googleapis//google/api/expr/v1alpha1:expr_java_proto"
143+
],
135144
maven_coordinates = "dev.cel:extensions:%s" % CEL_VERSION,
136145
pom_template = ":cel_extensions_pom",
137146
runtime_deps = EXTENSION_TARGETS,
@@ -151,6 +160,9 @@ pom_file(
151160

152161
java_export(
153162
name = "cel_validators",
163+
deploy_env = [
164+
"@com_google_googleapis//google/api/expr/v1alpha1:expr_java_proto"
165+
],
154166
maven_coordinates = "dev.cel:validators:%s" % CEL_VERSION,
155167
pom_template = ":cel_validators_pom",
156168
runtime_deps = VALIDATOR_TARGETS,
@@ -170,6 +182,9 @@ pom_file(
170182

171183
java_export(
172184
name = "cel_optimizers",
185+
deploy_env = [
186+
"@com_google_googleapis//google/api/expr/v1alpha1:expr_java_proto"
187+
],
173188
maven_coordinates = "dev.cel:optimizers:%s" % CEL_VERSION,
174189
pom_template = ":cel_optimizers_pom",
175190
runtime_deps = OPTIMIZER_TARGETS,
@@ -189,6 +204,9 @@ pom_file(
189204

190205
java_export(
191206
name = "cel_v1alpha1",
207+
deploy_env = [
208+
"@com_google_googleapis//google/api/expr/v1alpha1:expr_java_proto"
209+
],
192210
maven_coordinates = "dev.cel:v1alpha1:%s" % CEL_VERSION,
193211
pom_template = ":cel_v1alpha1_pom",
194212
runtime_deps = V1ALPHA1_UTILITY_TARGETS,

0 commit comments

Comments
 (0)