Skip to content

Commit 586fc26

Browse files
committed
Fix copyright
1 parent 29dfb49 commit 586fc26

File tree

19 files changed

+63
-9
lines changed

19 files changed

+63
-9
lines changed

.github/workflows/scripts/disable-docker.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/bash
2-
32
# Copyright and related rights waived via CC0
43
#
54
# You should have received a copy of the CC0 legalcode along with this

.github/workflows/scripts/run-consecutive-tests.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/bash
2-
32
# Copyright and related rights waived via CC0
43
#
54
# You should have received a copy of the CC0 legalcode along with this

build.gradle

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ spotless {
3232
json {
3333
target(
3434
tck.metadataRoot.map { it.toString() + '/**/*.json' }.get(),
35-
tck.testRoot.map { it.toString() + '/**/*.json' }
35+
tck.testRoot.map { it.toString() + '/**/*.json' }.get()
3636
)
3737
targetExclude(
38-
tck.testRoot.map { it.toString() + '/**/build/**/*.json' },
39-
tck.repoRoot.map { it.toString() + '/.github/**/*.json' }
38+
tck.testRoot.map { it.toString() + '/**/build/**/*.json' }.get(),
39+
tck.repoRoot.map { it.toString() + '/.github/**/*.json' }.get()
4040
)
4141
gson()
4242
.indentWithSpaces(2)
@@ -49,7 +49,9 @@ spotless {
4949
'**/build/**', // not relevant
5050
'**/.gradle/**', // not relevant
5151
'gradle/wrapper/**', // not relevant
52+
'tests/src/**/generated/**/*.java',
5253
'gradle/header.java',
54+
'gradle/header.sh',
5355
]
5456

5557
java {
@@ -74,12 +76,12 @@ spotless {
7476
}
7577
format('shell') {
7678
target('**/*.sh')
77-
targetExclude(noHeaderDirs)
79+
targetExclude(*noHeaderDirs)
7880
// Ensure header appears after shebang if present, else at the very top.
7981
def shHeader = file("$rootDir/gradle/header.sh").text
8082
// If file starts with a shebang and is missing the header, insert it after the shebang
8183
replaceRegex('insert-license-after-shebang',
82-
'(?s)\\A(#!.*\\n)(?!# Copyright and related rights waived via CC0\\n)',
84+
'(?s)\\A(#![^\\n]*\\n)(?:[ \\t]*\\n)*(?!# Copyright and related rights waived via CC0\\n)',
8385
'$1' + shHeader + "\n")
8486
// If file has no shebang and is missing the header, insert it at the start
8587
replaceRegex('insert-license-at-start',

tests/src/ch.qos.logback/logback-classic/1.4.1/generate-metadata.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/usr/bin/env bash
2+
# Copyright and related rights waived via CC0
3+
#
4+
# You should have received a copy of the CC0 legalcode along with this
5+
# work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
26

37
./gradlew clean
48
./gradlew test --tests "org.graalvm.logback.LogbackTests" -Pagent
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/usr/bin/env bash
2+
# Copyright and related rights waived via CC0
3+
#
4+
# You should have received a copy of the CC0 legalcode along with this
5+
# work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
26

37
./gradlew clean
48
./gradlew test --tests "flyway.FlywayTests" -Pagent
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/usr/bin/env bash
2+
# Copyright and related rights waived via CC0
3+
#
4+
# You should have received a copy of the CC0 legalcode along with this
5+
# work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
26

37
./gradlew clean
48
./gradlew test --tests "flyway.FlywayTests" -Pagent
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/usr/bin/env bash
2+
# Copyright and related rights waived via CC0
3+
#
4+
# You should have received a copy of the CC0 legalcode along with this
5+
# work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
26

37
./gradlew clean
48
./gradlew test --tests "flyway.FlywayTests" -Pagent

tests/src/org.hibernate.orm/hibernate-core/6.2.0.Final/generate-metadata.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/usr/bin/env bash
2+
# Copyright and related rights waived via CC0
3+
#
4+
# You should have received a copy of the CC0 legalcode along with this
5+
# work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
26

37
../../../../../gradlew deleteGeneratedMetadata
48
../../../../../gradlew test --tests "org_hibernate_orm.hibernate_core.H2DialectHibernateTest" -Pagent metadataCopy

tests/src/org.hibernate.orm/hibernate-core/6.5.0.Final/generate-metadata.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/usr/bin/env bash
2+
# Copyright and related rights waived via CC0
3+
#
4+
# You should have received a copy of the CC0 legalcode along with this
5+
# work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
26

37
../../../../../gradlew deleteGeneratedMetadata
48
../../../../../gradlew test --tests "org_hibernate_orm.hibernate_core.H2DialectHibernateTest" -Pagent metadataCopy

tests/src/org.hibernate.orm/hibernate-core/6.6.0.Final/generate-metadata.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/usr/bin/env bash
2+
# Copyright and related rights waived via CC0
3+
#
4+
# You should have received a copy of the CC0 legalcode along with this
5+
# work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
26

37
../../../../../gradlew deleteGeneratedMetadata
48
../../../../../gradlew test --tests "org_hibernate_orm.hibernate_core.H2DialectHibernateTest" -Pagent metadataCopy

0 commit comments

Comments
 (0)