|
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 | 21 |
|
23 | 22 | s.remove_staging_dirs() |
24 | | -java.common_templates( |
25 | | - excludes=[ |
| 23 | +java.common_templates(monorepo=True, excludes=[ |
| 24 | + ".github/*", |
| 25 | + ".gitignore", |
| 26 | + ".kokoro/*", |
| 27 | + "CODE_OF_CONDUCT.md", |
| 28 | + "CONTRIBUTING.md", |
| 29 | + "LICENSE", |
| 30 | + "SECURITY.md", |
| 31 | + "java.header", |
| 32 | + "license-checks.xml", |
26 | 33 | "renovate.json", |
27 | | - ".kokoro/build.sh", |
28 | | - ".kokoro/nightly/retry_non_quota.cfg", |
29 | | - ".kokoro/nightly/retry_quota.cfg", |
30 | | - ".kokoro/nightly/samples.cfg", |
31 | | - ".kokoro/presubmit/samples.cfg", |
32 | | - ".kokoro/presubmit/graalvm-native-17.cfg", |
33 | | - ".kokoro/presubmit/graalvm-native.cfg", |
34 | | - ".kokoro/presubmit/graalvm-native-a.cfg", |
35 | | - ".kokoro/presubmit/graalvm-native-b.cfg", |
36 | | - ".kokoro/presubmit/graalvm-native-c.cfg", |
37 | | - ".kokoro/dependencies.sh", |
38 | | - ".github/workflows/approve-readme.yaml", |
39 | | - ".github/workflows/auto-release.yaml", |
40 | | - ".github/workflows/ci.yaml", |
41 | | - ".github/workflows/samples.yaml" |
42 | | - ".kokoro/requirements.in", |
43 | | - ".kokoro/requirements.txt" |
44 | | - ] |
45 | | -) |
| 34 | + "samples/*" |
| 35 | +]) |
0 commit comments