From 8e1bbbad21c0dc1fe248b1a82a3e2cadd3303e0c Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Mon, 23 Mar 2020 16:06:55 -0700 Subject: [PATCH] chore: use java helper for templates (#92) --- synth.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/synth.py b/synth.py index 259352ea..a5ea146c 100644 --- a/synth.py +++ b/synth.py @@ -14,12 +14,8 @@ """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 - -common_templates = gcp.CommonTemplates() -templates = common_templates.java_library() -s.copy(templates, excludes=[ +java.common_templates(excludes=[ 'README.md' -]) \ No newline at end of file +])