build.gradle.kts: removed unnecessary mapOf() and fixed formatting

This commit is contained in:
Karl Tauber
2021-05-12 13:23:57 +02:00
parent 9edaf58929
commit 60fd78e082
2 changed files with 7 additions and 6 deletions

View File

@@ -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" )
}
}

View File

@@ -45,11 +45,11 @@ tasks {
}
}
named<Jar>("sourcesJar" ) {
named<Jar>( "sourcesJar" ) {
archiveBaseName.set( "flatlaf" )
}
named<Jar>("javadocJar" ) {
named<Jar>( "javadocJar" ) {
archiveBaseName.set( "flatlaf" )
}
}