support Java Platform Module System (JPMS) (issue #1)

This commit is contained in:
Karl Tauber
2019-10-01 17:34:18 +02:00
parent 423805be3a
commit 3847b14033
5 changed files with 71 additions and 1 deletions

View File

@@ -42,6 +42,8 @@ tasks {
attributes( "Main-Class" to "com.formdev.flatlaf.demo.FlatLafDemo" )
}
exclude( "META-INF/versions/**" )
// include all dependencies in jar
from( {
configurations.runtimeClasspath.get().filter { it.name.endsWith( "jar" ) }.map { zipTree( it ) }