Skip to content

Commit 1a5c4af

Browse files
committed
use stable sbt-jextract
1 parent acbae42 commit 1a5c4af

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
## SBT template demonstrating Java and Scala Native interop via FFM
2+
3+
Powered by [sbt-jextract plugin](https://github.com/indoorvivants/sbt-jextract), uses setup described in my [blog post](https://blog.indoorvivants.com/2025-02-16-scala-native-from-java-via-ffm).
4+
5+
**This project requires JDK 23+ to work**
6+
7+
If you have [Coursier](https://get-coursier.io/docs/overview) installed, you can launch SBT with `cs launch sbt --jvm 23`,
8+
or just run the Java code with `cs launch sbt --jvm 23 -- jvmSide/run`

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.6")
22
addSbtPlugin("com.indoorvivants" % "bindgen-sbt-plugin" % "0.2.3")
3-
addSbtPlugin("com.indoorvivants" % "sbt-jextract" % "0.0.0+4-c6519386-SNAPSHOT")
3+
addSbtPlugin("com.indoorvivants" % "sbt-jextract" % "0.1.0")

0 commit comments

Comments
 (0)