Skip to content

Commit 9ca7c42

Browse files
committed
Rename license file to the liking of OpenSSF Scorecard check
1 parent 906a739 commit 9ca7c42

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed
File renamed without changes.

gradle/plugins/common/src/main/kotlin/junitbuild.java-library-conventions.gradle.kts

+8-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,14 @@ val compileModule by tasks.registering(JavaCompile::class) {
204204

205205
tasks.withType<Jar>().configureEach {
206206
from(rootDir) {
207-
include("LICENSE.md", "LICENSE-notice.md")
207+
include("LICENSE-EPL-2.0.md")
208+
rename {
209+
"LICENSE.md"
210+
}
211+
into("META-INF")
212+
}
213+
from(rootDir) {
214+
include("LICENSE-notice.md")
208215
into("META-INF")
209216
}
210217
val suffix = archiveClassifier.getOrElse("")

0 commit comments

Comments
 (0)