|
1 | | -# Copyright 2021 Google LLC |
| 1 | +# Copyright 2026 Google LLC |
2 | 2 | # |
3 | 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
4 | 4 | # you may not use this file except in compliance with the License. |
|
15 | 15 | import synthtool as s |
16 | 16 | from synthtool.languages import java |
17 | 17 |
|
18 | | - |
19 | 18 | for library in s.get_staging_dirs(): |
20 | 19 | # put any special-case replacements here |
21 | 20 | s.move(library) |
22 | | - |
23 | 21 | s.remove_staging_dirs() |
24 | | -java.common_templates( |
25 | | - excludes=[ |
26 | | - ".kokoro/continuous/common.cfg", |
27 | | - ".kokoro/nightly/common.cfg", |
28 | | - ".kokoro/nightly/integration.cfg", |
29 | | - ".kokoro/nightly/java8-samples.cfg", |
30 | | - ".kokoro/nightly/java11-samples.cfg", |
31 | | - ".kokoro/nightly/samples.cfg", |
32 | | - ".kokoro/build.bat", |
33 | | - ".kokoro/presubmit/common.cfg", |
34 | | - ".kokoro/presubmit/graalvm-native.cfg", |
35 | | - ".kokoro/presubmit/graalvm-native-17.cfg", |
36 | | - "samples/install-without-bom/pom.xml", |
37 | | - "samples/snapshot/pom.xml", |
38 | | - "samples/snippets/pom.xml", |
39 | | - ".github/CODEOWNERS", |
40 | | - ".github/sync-repo-settings.yaml", |
41 | | - ".github/release-please.yml", |
42 | | - ".github/blunderbuss.yml", |
43 | | - ".github/workflows/samples.yaml", |
44 | | - ".github/workflows/ci.yaml", |
45 | | - ".kokoro/common.sh", |
46 | | - ".kokoro/build.sh", |
47 | | - ".kokoro/dependencies.sh", |
48 | | - ".kokoro/requirements.in", |
49 | | - ".kokoro/requirements.txt" |
50 | | - ] |
51 | | -) |
| 22 | +java.common_templates(monorepo=True, excludes=[ |
| 23 | + ".github/*", |
| 24 | + ".kokoro/*", |
| 25 | + "samples/*", |
| 26 | + "CODE_OF_CONDUCT.md", |
| 27 | + "CONTRIBUTING.md", |
| 28 | + "LICENSE", |
| 29 | + "SECURITY.md", |
| 30 | + "java.header", |
| 31 | + "license-checks.xml", |
| 32 | + "renovate.json", |
| 33 | + ".gitignore" |
| 34 | +]) |
0 commit comments