diff options
author | Kamyar <kammoh@gmail.com> | 2019-11-24 14:39:23 -0500 |
---|---|---|
committer | Jakob Odersky <jakob@odersky.com> | 2019-11-24 14:39:23 -0500 |
commit | 221b3843a5a947d803507b8e61778ebfea072390 (patch) | |
tree | 3b2419a93d047d5ce7803a865d0c46751a1233b3 /README.md | |
parent | 4a55232d23c47225dc1c12b530636595b4453ac5 (diff) | |
download | sbt-jni-221b3843a5a947d803507b8e61778ebfea072390.tar.gz sbt-jni-221b3843a5a947d803507b8e61778ebfea072390.tar.bz2 sbt-jni-221b3843a5a947d803507b8e61778ebfea072390.zip |
Incorporate gjavah internally instead of deprecated javah (#33)v1.4.0
incorporate `gjavah` instead of deprecated javah
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -46,7 +46,10 @@ Note that most plugins are enabled in projects by default. Disabling their funct |--------------------------------|---------------| | automatic, for all projects | [JniJavah.scala](plugin/src/main/scala/ch/jodersky/sbt/jni/plugins/JniJavah.scala)| -This plugin wraps the JDK `javah` command. +This plugin wraps the JDK `javah` command [^1]. + +[^1]: Glavo's [gjavah](https://github.com/Glavo/gjavah) is actually used, since `javah` has been +removed from the JDK since version 1.10. Run `sbt-javah` to generate C header files with prototypes for any methods marked as native. E.g. the following scala class |