Skip to content

Commit

Permalink
build.gradle.kts: removed unnecessary mapOf() and fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
DevCharly committed May 12, 2021
1 parent 9edaf58 commit 60fd78e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,15 @@ allprojects {

withType<Jar>().configureEach {
// manifest for all created JARs
manifest.attributes(mapOf(
manifest.attributes(
"Implementation-Vendor" to "FormDev Software GmbH",
"Implementation-Copyright" to "Copyright (C) 2019-${java.time.LocalDate.now().year} FormDev Software GmbH. All rights reserved.",
"Implementation-Version" to project.version))
"Implementation-Version" to project.version
)

// add META-INF/LICENSE to all created JARs
from("${rootDir}/LICENSE") {
into("META-INF")
from( "${rootDir}/LICENSE" ) {
into( "META-INF" )
}
}

Expand Down
4 changes: 2 additions & 2 deletions flatlaf-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ tasks {
}
}

named<Jar>("sourcesJar" ) {
named<Jar>( "sourcesJar" ) {
archiveBaseName.set( "flatlaf" )
}

named<Jar>("javadocJar" ) {
named<Jar>( "javadocJar" ) {
archiveBaseName.set( "flatlaf" )
}
}
Expand Down

0 comments on commit 60fd78e

Please sign in to comment.