File tree Expand file tree Collapse file tree 3 files changed +40
-14
lines changed Expand file tree Collapse file tree 3 files changed +40
-14
lines changed Original file line number Diff line number Diff line change
1
+ docker :
2
+ digest : sha256:db1616f2f70823d8381d859835229e04371d14f59ac78063c5af73c55c3fffbb
3
+ image : gcr.io/repo-automation-bots/owlbot-java:latest
Original file line number Diff line number Diff line change 1
-
2
- # Copyright 2019 Google LLC
1
+ # Copyright 2021 Google LLC
3
2
#
4
3
# Licensed under the Apache License, Version 2.0 (the "License");
5
4
# you may not use this file except in compliance with the License.
12
11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
12
# See the License for the specific language governing permissions and
14
13
# limitations under the License.
15
- """This script is used to synthesize generated parts of this library."""
16
-
17
- import synthtool .languages .java as java
18
14
19
- java .common_templates (excludes = [
20
- "README.md" ,
21
- "java.header" ,
22
- "checkstyle.xml" ,
23
- "renovate.json" ,
24
- "license-checks.xml" ,
25
- ".github/workflows/ci.yaml" ,
26
- ".github/workflows/samples.yaml" ,
27
- ])
15
+ docker :
16
+ image : " gcr.io/repo-automation-bots/owlbot-java:latest"
Original file line number Diff line number Diff line change
1
+ # Copyright 2021 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ import synthtool as s
16
+ from synthtool .languages import java
17
+
18
+
19
+ for library in s .get_staging_dirs ():
20
+ # put any special-case replacements here
21
+ s .move (library )
22
+
23
+ s .remove_staging_dirs ()
24
+ java .common_templates (
25
+ excludes = [
26
+ "README.md" ,
27
+ "java.header" ,
28
+ "checkstyle.xml" ,
29
+ "renovate.json" ,
30
+ "license-checks.xml" ,
31
+ ".github/workflows/ci.yaml" ,
32
+ ".github/workflows/samples.yaml" ,
33
+ ]
34
+ )
You can’t perform that action at this time.
0 commit comments