Skip to content

Commit

Permalink
Remove license header step for Gradle Kotlin DSL because it doesn't w…
Browse files Browse the repository at this point in the history
…ork very well
  • Loading branch information
DavidGregory084 committed Mar 17, 2023
1 parent d425427 commit 50d24e3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
14 changes: 0 additions & 14 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/*
* SPDX-FileCopyrightText: Copyright 2023 Opencast Software Europe Ltd
* SPDX-License-Identifier: Apache-2.0
*/
import com.vanniktech.maven.publish.GradlePlugin
import com.vanniktech.maven.publish.JavadocJar
import com.vanniktech.maven.publish.SonatypeHost
Expand Down Expand Up @@ -58,16 +54,6 @@ spotless {
kotlinGradle {
encoding("UTF-8")
target("**/*.gradle.kts")
licenseHeader(
"""
/*
* SPDX-FileCopyrightText: Copyright ${"$"}YEAR Opencast Software Europe Ltd
* SPDX-License-Identifier: Apache-2.0
*/
"""
.trimIndent(),
"^"
)
ktfmt().kotlinlangStyle()
indentWithSpaces()
trimTrailingWhitespace()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,6 @@ spotless {
kotlinGradle {
encoding("UTF-8")
target("**/*.gradle.kts")
licenseHeader(
"""
/*
* SPDX-FileCopyrightText: Copyright ${"$"}YEAR Opencast Software Europe Ltd
* SPDX-License-Identifier: Apache-2.0
*/
"""
.trimIndent(),
"^"
)
ktfmt().kotlinlangStyle()
indentWithSpaces()
trimTrailingWhitespace()
Expand Down

0 comments on commit 50d24e3

Please sign in to comment.