diff --git a/README.md b/README.md index 36d4e258..bd08cdd1 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ you would expect: ## Building RText uses [Gradle](https://gradle.org/) to build. To compile, run -all unit tests, and create the jar, and run: +all unit tests, create the jar, and run the app: ./gradlew build installDist java -jar build/install/rtext/RText.jar diff --git a/build.gradle b/build.gradle index 469d0737..d29317fd 100644 --- a/build.gradle +++ b/build.gradle @@ -103,6 +103,7 @@ jar { 'Implementation-Title': 'org.fife.rtext', 'Implementation-Version': version, 'Build-Date': Instant.now().toString(), + 'Enable-Native-Access': 'ALL-UNNAMED', // Needed for flatlaf, see https://github.com/JFormDesigner/FlatLaf/issues/1035 'Main-Class': 'org/fife/rtext/Main', 'Class-Path': configurations.runtimeClasspath.findAll { !JarPredicates.isPluginJar(it.name) }.collect { def name = it.name