Skip to content

Commit

Permalink
chore: use java helper for templates (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
chingor13 committed Mar 18, 2020
1 parent 706d7b1 commit 1faca84
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions synth.py
Expand Up @@ -14,19 +14,14 @@

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

import synthtool as s
import synthtool.gcp as gcp
import synthtool.languages.java as java

gapic = gcp.GAPICGenerator()

common_templates = gcp.CommonTemplates()
templates = common_templates.java_library()
s.copy(templates, excludes=[
java.common_templates(excludes=[
'README.md',
'.kokoro/continuous/java8-samples.cfg',
'.kokoro/continuous/java11-samples.cfg',
'.kokoro/nightly/java8-samples.cfg',
'.kokoro/nightly/java11-samples.cfg',
'.kokoro/presubmit/java8-samples.cfg',
'.kokoro/presubmit/java11-samples.cfg',
])
])

0 comments on commit 1faca84

Please sign in to comment.