File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,12 @@ repositories {
20
20
}
21
21
22
22
dependencies {
23
- implementation(" app.photofox.vips-ffm:vips-ffm-core:0.5.8 " )
23
+ implementation(" app.photofox.vips-ffm:vips-ffm-core:0.5.9 " )
24
24
}
25
25
```
26
+ When running your project you must add: ` --enable-native-access=app.photofox.vipsffm ` to your JVM runtime arguments. If
27
+ you don't, you'll get a warning about "Restricted methods". In the future, the JVM will throw an error if you don't
28
+ explicitly include this flag.
26
29
27
30
As the project uses the Java FFM API, it must target JDK 22+. Bindings are currently generated from libvips ` 8.15.3 ` ,
28
31
however they use the underlying libvips operation API. All operations ** do not** use the C API directly (as described
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ tasks.withType<JavaExec>().configureEach {
65
65
66
66
tasks.withType<Jar >().configureEach {
67
67
manifest {
68
- attributes(" Enable-Native-Access " to " ALL-UNNAMED " )
68
+ attributes(" Automatic-Module-Name " to " app.photofox.vipsffm " )
69
69
}
70
70
}
71
71
You can’t perform that action at this time.
0 commit comments