mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-06 22:10:54 +03:00
build.gradle.kts: removed unnecessary mapOf() and fixed formatting
This commit is contained in:
@@ -52,14 +52,15 @@ allprojects {
|
|||||||
|
|
||||||
withType<Jar>().configureEach {
|
withType<Jar>().configureEach {
|
||||||
// manifest for all created JARs
|
// manifest for all created JARs
|
||||||
manifest.attributes(mapOf(
|
manifest.attributes(
|
||||||
"Implementation-Vendor" to "FormDev Software GmbH",
|
"Implementation-Vendor" to "FormDev Software GmbH",
|
||||||
"Implementation-Copyright" to "Copyright (C) 2019-${java.time.LocalDate.now().year} FormDev Software GmbH. All rights reserved.",
|
"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
|
// add META-INF/LICENSE to all created JARs
|
||||||
from("${rootDir}/LICENSE") {
|
from( "${rootDir}/LICENSE" ) {
|
||||||
into("META-INF")
|
into( "META-INF" )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -45,11 +45,11 @@ tasks {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
named<Jar>("sourcesJar" ) {
|
named<Jar>( "sourcesJar" ) {
|
||||||
archiveBaseName.set( "flatlaf" )
|
archiveBaseName.set( "flatlaf" )
|
||||||
}
|
}
|
||||||
|
|
||||||
named<Jar>("javadocJar" ) {
|
named<Jar>( "javadocJar" ) {
|
||||||
archiveBaseName.set( "flatlaf" )
|
archiveBaseName.set( "flatlaf" )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user