Replace multiple references to LICENSE files

This commit is contained in:
René Pfeuffer
2024-09-06 14:46:39 +02:00
parent bcbf68f1c4
commit abbb0f8332
10 changed files with 10 additions and 10 deletions

View File

@@ -109,7 +109,7 @@ class JavaModulePlugin implements Plugin<Project> {
}
project.license {
header project.rootProject.file('LICENSE.txt')
header project.rootProject.file('LICENSE-HEADER.txt')
newLine = true
ignoreNewLine = true
lineEnding = "\n"

View File

@@ -167,7 +167,7 @@ artifacts {
}
license {
header rootProject.file("LICENSE.txt")
header rootProject.file("LICENSE-HEADER.txt")
lineEnding = "\n"
tasks {

View File

@@ -125,7 +125,7 @@ artifacts {
}
license {
header rootProject.file("LICENSE.txt")
header rootProject.file("LICENSE-HEADER.txt")
lineEnding = "\n"
tasks {

View File

@@ -96,7 +96,7 @@ task publish {
}
license {
header rootProject.file("LICENSE.txt")
header rootProject.file("LICENSE-HEADER.txt")
lineEnding = "\n"
exclude '**/Chart.yaml'

View File

@@ -64,7 +64,7 @@ task publish(type: ScmManagerUploadTask) {
}
license {
header rootProject.file("LICENSE.txt")
header rootProject.file("LICENSE-HEADER.txt")
lineEnding = "\n"
tasks {

View File

@@ -182,7 +182,7 @@ artifacts {
}
license {
header rootProject.file("LICENSE.txt")
header rootProject.file("LICENSE-HEADER.txt")
lineEnding = "\n"
tasks {

View File

@@ -127,7 +127,7 @@ project.rootProject.publishing.repositories.each { r ->
}
license {
header rootProject.file("LICENSE.txt")
header rootProject.file("LICENSE-HEADER.txt")
lineEnding = "\n"
tasks {

View File

@@ -131,7 +131,7 @@ project.rootProject.publishing.repositories.each { r ->
}
license {
header rootProject.file("LICENSE.txt")
header rootProject.file("LICENSE-HEADER.txt")
lineEnding = "\n"
tasks {

View File

@@ -880,7 +880,7 @@ task setVersionToNextSnapshot(type: YarnTask) {
}
license {
header rootProject.file("LICENSE.txt")
header rootProject.file("LICENSE-HEADER.txt")
newLine = true
ignoreNewLine = true
lineEnding = "\n"

View File

@@ -910,7 +910,7 @@ class RepositoryInitializerTest {
@Override
public void initialize(InitializerContext context) throws IOException {
context.create("LICENSE.txt").from("MIT");
context.create("LICENSE.txt").from("AGPL");
}
}