Skip to content

Commit 7b830d9

Browse files
committed
Allow native access in manifest.mf
1 parent c8f9228 commit 7b830d9

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ you would expect:
2525
## Building
2626

2727
RText uses [Gradle](https://gradle.org/) to build. To compile, run
28-
all unit tests, and create the jar, and run:
28+
all unit tests, create the jar, and run the app:
2929

3030
./gradlew build installDist
3131
java -jar build/install/rtext/RText.jar

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ jar {
103103
'Implementation-Title': 'org.fife.rtext',
104104
'Implementation-Version': version,
105105
'Build-Date': Instant.now().toString(),
106+
'Enable-Native-Access': 'ALL-UNNAMED', // Needed for flatlaf, see https://github.com/JFormDesigner/FlatLaf/issues/1035
106107
'Main-Class': 'org/fife/rtext/Main',
107108
'Class-Path': configurations.runtimeClasspath.findAll { !JarPredicates.isPluginJar(it.name) }.collect {
108109
def name = it.name

0 commit comments

Comments
 (0)