Skip to content

Commit b0ffd0b

Browse files
authored
chore: use java helper for templates (#195)
We are cleaning up usage of common templates in synthtool. This allows us the cleanup usage in a centralized place rather than in 60+ repos
1 parent 9b4af58 commit b0ffd0b

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

synth.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,9 @@
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
17+
import synthtool.languages.java
1918

20-
common_templates = gcp.CommonTemplates()
21-
templates = common_templates.java_library()
22-
s.copy(templates, excludes=[
19+
java.common_templates(excludes=[
2320
'README.md',
2421
'.kokoro/presubmit/integration.cfg'
2522
])

0 commit comments

Comments
 (0)