Skip to content

Commit 72397f4

Browse files
committed
Improve sbt-plugin documentation
1 parent 42573f8 commit 72397f4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

sbt-scala-native-bindgen/src/main/scala/org/scalanative/bindgen/sbt/ScalaNativeBindgenPlugin.scala

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,21 @@ import org.scalanative.bindgen.Bindgen
2828
*
2929
* Keys are defined in [[ScalaNativeBindgenPlugin.autoImport]].
3030
*
31+
* - `nativeBindgenPath`: Path to the `scala-native-bindgen` executable.
3132
* - `nativeBindgenHeader`: The C header file to read.
3233
*
3334
* - `nativeBindgenPackage`: Package of the enclosing object.
3435
* No package by default.
3536
*
3637
* - `name in nativeBindgen`: Name of the enclosing object.
3738
*
39+
* - `version in nativeBindgen`: Version of the `scala-native-bindgen`
40+
* to use when automatically downloading the executable.
41+
*
42+
* - `nativeBindgenLink`: Name of library to be linked.
43+
*
44+
* - `nativeBindgen`: Generate Scala Native bindings.
45+
*
3846
* @example
3947
* {{{
4048
* nativeBindgenHeader in Compile := file("/usr/include/ctype.h")

0 commit comments

Comments
 (0)