Skip to content
This repository was archived by the owner on Sep 9, 2023. It is now read-only.

Commit f04c1ac

Browse files
authored
chore: switch to using pre-generated library (#157)
Fixes #154
1 parent 037f1cb commit f04c1ac

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

synth.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,17 @@
1414

1515
"""This script is used to synthesize generated parts of this library."""
1616

17-
import synthtool as s
18-
import synthtool.gcp as gcp
1917
import synthtool.languages.java as java
2018

2119
service = 'analytics-admin'
2220
versions = ['v1alpha']
2321

2422
for version in versions:
25-
java.bazel_library(
26-
service=service,
27-
version=version,
28-
proto_path=f'google/analytics/admin/{version}',
29-
bazel_target=f'//google/analytics/admin/{version}:google-{service}-{version}-java',
30-
cloud_api=False,
23+
java.pregenerated_library(
24+
service=service,
25+
version=version,
26+
path=f'google/analytics/admin/{version}',
27+
cloud_api=False,
3128
)
3229

3330
java.common_templates()

0 commit comments

Comments
 (0)