|
1 | | -// Copyright 2018 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. |
| 1 | +/* |
| 2 | + * Copyright 2024 Google LLC |
| 3 | + * |
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | + * you may not use this file except in compliance with the License. |
| 6 | + * You may obtain a copy of the License at |
| 7 | + * |
| 8 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | + * |
| 10 | + * Unless required by applicable law or agreed to in writing, software |
| 11 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | + * See the License for the specific language governing permissions and |
| 14 | + * limitations under the License. |
| 15 | + */ |
14 | 16 |
|
15 | 17 | import java.io.File |
16 | 18 | import org.gradle.api.initialization.ProjectDescriptor |
@@ -70,7 +72,7 @@ fun setBuildScripts(project: ProjectDescriptor) { |
70 | 72 | "${project.name}.gradle.kts", |
71 | 73 | "${project.name}.gradle", |
72 | 74 | "build.gradle.kts", |
73 | | - "build.gradle" |
| 75 | + "build.gradle", |
74 | 76 | ) |
75 | 77 |
|
76 | 78 | val name = names.find { File(project.projectDir, it).exists() } |
|
0 commit comments