From c27db5632104b2e92d87435dccc59fbeb9e2f102 Mon Sep 17 00:00:00 2001 From: Karl Tauber Date: Tue, 25 Jan 2022 16:59:31 +0100 Subject: [PATCH] moved module-info.class from META-INF\versions\9\ to root folder of JARs (issue #466) --- CHANGELOG.md | 2 ++ buildSrc/src/main/kotlin/flatlaf-module-info.gradle.kts | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f0d13c9c..ba31248d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ FlatLaf Change Log `JComponent.getToolTipLocation()` and wants place tooltip under mouse location. (issue #468) - Extras: Added copy constructor to `FlatSVGIcon`. (issue #465) +- Moved `module-info.class` from `META-INF\versions\9\` to root folder of JARs. + (issue #466) ## 2.0 diff --git a/buildSrc/src/main/kotlin/flatlaf-module-info.gradle.kts b/buildSrc/src/main/kotlin/flatlaf-module-info.gradle.kts index b2f78f94..b1049c2d 100644 --- a/buildSrc/src/main/kotlin/flatlaf-module-info.gradle.kts +++ b/buildSrc/src/main/kotlin/flatlaf-module-info.gradle.kts @@ -63,10 +63,8 @@ if( JavaVersion.current() >= JavaVersion.VERSION_1_9 ) { jar { manifest.attributes( "Multi-Release" to "true" ) - into( "META-INF/versions/9" ) { - from( sourceSets["module-info"].output ) { - include( "module-info.class" ) - } + from( sourceSets["module-info"].output ) { + include( "module-info.class" ) } } }