Skip to content

Commit 06e2f56

Browse files
committed
update templates to decide via monorepo variable
1 parent 18591bd commit 06e2f56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library_generation/owlbot/templates/poms/cloud_pom.xml.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
<groupId>com.google.api.grpc</groupId>
6969
<artifactId>proto-google-iam-v1</artifactId>
7070
</dependency>
71-
{%- if repo in ['java-storage', 'java-spanner', 'java-dataproc'] %}
71+
{%- if not monorepo %}
7272
<dependency>
7373
<groupId>com.google.api.grpc</groupId>
7474
<artifactId>grpc-google-common-protos</artifactId>
@@ -84,7 +84,7 @@
8484
</dependency>
8585

8686
<!-- Test dependencies -->
87-
{%- if repo not in ['java-storage', 'java-spanner','java-dataproc'] %}
87+
{%- if monorepo %}
8888
<dependency>
8989
<groupId>com.google.api.grpc</groupId>
9090
<artifactId>grpc-google-common-protos</artifactId>

0 commit comments

Comments
 (0)