Skip to content

Commit db7d9c0

Browse files
authored
Update copyright from "Google" -> "Google LLC" (#254)
* Update copyright from "Google" -> "Google LLC" * update license check yaml to check for dockerfiles too * update spotless config to reformat dockerfiles * rename
1 parent 559c61c commit db7d9c0

4 files changed

Lines changed: 21 additions & 4 deletions

File tree

.github/header-checker-lint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ sourceFileExtensions:
44
- gradle
55
- java
66
- sh
7+
- Dockerfile
78
allowedCopyrightHolders:
89
- Google LLC

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ spotless {
4747
target "*.yaml"
4848
licenseHeaderFile rootProject.file('buildscripts/spotless.license.yaml'), '([a-zA-Z]*:)'
4949
}
50+
format 'dockerfile', {
51+
target '*Dockerfile'
52+
licenseHeaderFile rootProject.file('buildscripts/spotless.license.dockerfile'), '(\\s+|FROM)'
53+
}
5054
}
5155

5256
// Configure release mechanism.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright 2023 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+
# http://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.

e2e.Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
2-
# Copyright 2021 Google
1+
# Copyright 2023 Google LLC
32
#
43
# Licensed under the Apache License, Version 2.0 (the "License");
54
# you may not use this file except in compliance with the License.
65
# You may obtain a copy of the License at
76
#
8-
# https://www.apache.org/licenses/LICENSE-2.0
7+
# http://www.apache.org/licenses/LICENSE-2.0
98
#
109
# Unless required by applicable law or agreed to in writing, software
1110
# distributed under the License is distributed on an "AS IS" BASIS,
@@ -23,4 +22,4 @@ RUN gradle :e2e-test-server:build
2322
FROM openjdk:11-jre-slim
2423
COPY --from=builder /app/src/e2e-test-server/build/libs/*-all.jar /app/app.jar
2524
WORKDIR /app
26-
CMD java -jar app.jar
25+
CMD java -jar app.jar

0 commit comments

Comments
 (0)