Skip to content

Commit

Permalink
Revert "Rename license file to the liking of OpenSSF Scorecard check"
Browse files Browse the repository at this point in the history
This reverts commit 9ca7c42
  • Loading branch information
marcphilipp committed Oct 22, 2024
1 parent 370bc25 commit 6b847df
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -203,20 +203,17 @@ val compileModule by tasks.registering(JavaCompile::class) {
}

tasks.withType<Jar>().configureEach {
from(rootDir) {
include("LICENSE-EPL-2.0.md")
rename {
"LICENSE.md"
}
into("META-INF")
}
from(rootDir) {
include("NOTICE.md")
rename {
"LICENSE-notice.md"
}
into("META-INF")
}
from(rootDir) {
include("LICENSE.md")
into("META-INF")
}
from(rootDir) {
include("NOTICE.md")
rename {
"LICENSE-notice.md"
}
into("META-INF")
}
val suffix = archiveClassifier.getOrElse("")
if (suffix.isBlank() || this is ShadowJar) {
dependsOn(allMainClasses, compileModule)
Expand Down

0 comments on commit 6b847df

Please sign in to comment.