mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-05-06 12:56:44 +02:00
Replace multiple references to LICENSE files
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -167,7 +167,7 @@ artifacts {
|
||||
}
|
||||
|
||||
license {
|
||||
header rootProject.file("LICENSE.txt")
|
||||
header rootProject.file("LICENSE-HEADER.txt")
|
||||
lineEnding = "\n"
|
||||
|
||||
tasks {
|
||||
|
||||
@@ -125,7 +125,7 @@ artifacts {
|
||||
}
|
||||
|
||||
license {
|
||||
header rootProject.file("LICENSE.txt")
|
||||
header rootProject.file("LICENSE-HEADER.txt")
|
||||
lineEnding = "\n"
|
||||
|
||||
tasks {
|
||||
|
||||
@@ -96,7 +96,7 @@ task publish {
|
||||
}
|
||||
|
||||
license {
|
||||
header rootProject.file("LICENSE.txt")
|
||||
header rootProject.file("LICENSE-HEADER.txt")
|
||||
lineEnding = "\n"
|
||||
|
||||
exclude '**/Chart.yaml'
|
||||
|
||||
@@ -64,7 +64,7 @@ task publish(type: ScmManagerUploadTask) {
|
||||
}
|
||||
|
||||
license {
|
||||
header rootProject.file("LICENSE.txt")
|
||||
header rootProject.file("LICENSE-HEADER.txt")
|
||||
lineEnding = "\n"
|
||||
|
||||
tasks {
|
||||
|
||||
@@ -182,7 +182,7 @@ artifacts {
|
||||
}
|
||||
|
||||
license {
|
||||
header rootProject.file("LICENSE.txt")
|
||||
header rootProject.file("LICENSE-HEADER.txt")
|
||||
lineEnding = "\n"
|
||||
|
||||
tasks {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user