diff --git a/CHANGELOG.md b/CHANGELOG.md index a1c2cd3a..7b3780d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ FlatLaf Change Log - Fixed selection background of checkbox in table cell. - Fixed color of links in HTML text. - Fixed jittery submenu rendering on Mac. (issue #10) +- Fixed "cannot find symbol" error in NetBeans editor, when source/binary format + is set to JDK 9 (or later) in NetBeans project. (issue #13) - Button: Make button square if button text is "..." or a single character. - ComboBox: Fixed issues with NetBeans `org.openide.awt.ColorComboBox` component. diff --git a/flatlaf-core/build.gradle.kts b/flatlaf-core/build.gradle.kts index bb8ca379..749c21da 100644 --- a/flatlaf-core/build.gradle.kts +++ b/flatlaf-core/build.gradle.kts @@ -35,8 +35,8 @@ if( JavaVersion.current() >= JavaVersion.VERSION_1_9 ) { } java { - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 } tasks { @@ -58,12 +58,7 @@ tasks { archiveBaseName.set( "flatlaf" ) if( JavaVersion.current() >= JavaVersion.VERSION_1_9 ) { - manifest.attributes( - "Multi-Release" to "true" - ) - - into( "META-INF/versions/9" ) { - from( sourceSets["module-info"].output ) + from( sourceSets["module-info"].output ) { include( "module-info.class" ) } }