mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-13 23:37:13 -06:00
build.gradle.kts:
- added version info to manifest - added META-INF/LICENSE - Java source/target compatibility now defined in single location - defined source file encoding for java compiler
This commit is contained in:
@@ -34,11 +34,6 @@ dependencies {
|
||||
implementation( "com.jgoodies:jgoodies-forms:1.9.0" )
|
||||
}
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
tasks {
|
||||
jar {
|
||||
dependsOn( ":flatlaf-core:jar" )
|
||||
@@ -52,7 +47,11 @@ tasks {
|
||||
|
||||
// include all dependencies in jar
|
||||
from( {
|
||||
configurations.runtimeClasspath.get().filter { it.name.endsWith( "jar" ) }.map { zipTree( it ) }
|
||||
configurations.runtimeClasspath.get()
|
||||
.filter { it.name.endsWith( "jar" ) }
|
||||
.map { zipTree( it ).matching {
|
||||
exclude( "META-INF/LICENSE" )
|
||||
} }
|
||||
} )
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user