xref: /aosp_15_r20/external/google-cloud-java/java-iam/owlbot.py (revision 55e87721aa1bc457b326496a7ca40f3ea1a63287)
1*55e87721SMatt Gilbride# Copyright 2020 Google LLC
2*55e87721SMatt Gilbride#
3*55e87721SMatt Gilbride# Licensed under the Apache License, Version 2.0 (the "License");
4*55e87721SMatt Gilbride# you may not use this file except in compliance with the License.
5*55e87721SMatt Gilbride# You may obtain a copy of the License at
6*55e87721SMatt Gilbride#
7*55e87721SMatt Gilbride#     http://www.apache.org/licenses/LICENSE-2.0
8*55e87721SMatt Gilbride#
9*55e87721SMatt Gilbride# Unless required by applicable law or agreed to in writing, software
10*55e87721SMatt Gilbride# distributed under the License is distributed on an "AS IS" BASIS,
11*55e87721SMatt Gilbride# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12*55e87721SMatt Gilbride# See the License for the specific language governing permissions and
13*55e87721SMatt Gilbride# limitations under the License.
14*55e87721SMatt Gilbride
15*55e87721SMatt Gilbride"""This script is used to synthesize generated parts of this library."""
16*55e87721SMatt Gilbride
17*55e87721SMatt Gilbrideimport synthtool as s
18*55e87721SMatt Gilbridefrom synthtool.languages import java
19*55e87721SMatt Gilbride
20*55e87721SMatt Gilbridefor library in s.get_staging_dirs():
21*55e87721SMatt Gilbride  # put any special-case replacements here
22*55e87721SMatt Gilbride  s.move(library)
23*55e87721SMatt Gilbride
24*55e87721SMatt Gilbrides.remove_staging_dirs()
25*55e87721SMatt Gilbridejava.common_templates(monorepo=True, excludes=[
26*55e87721SMatt Gilbride    ".github/*",
27*55e87721SMatt Gilbride    ".kokoro/*",
28*55e87721SMatt Gilbride    "samples/*",
29*55e87721SMatt Gilbride    "CODE_OF_CONDUCT.md",
30*55e87721SMatt Gilbride    "CONTRIBUTING.md",
31*55e87721SMatt Gilbride    "LICENSE",
32*55e87721SMatt Gilbride    "SECURITY.md",
33*55e87721SMatt Gilbride    "java.header",
34*55e87721SMatt Gilbride    "license-checks.xml",
35*55e87721SMatt Gilbride    "renovate.json",
36*55e87721SMatt Gilbride    ".gitignore"
37*55e87721SMatt Gilbride])
38