feat: rework Runtime.Config.Builder to be Runtime.Builder, add explicit bind to address
This commit is contained in:
19
build.sbt
19
build.sbt
@@ -14,13 +14,6 @@ val path = settingKey[Map[String, String]]("paths")
|
||||
fork := true
|
||||
|
||||
javaOptions += "--enable-preview"
|
||||
javacOptions ++= Seq(
|
||||
"--enable-preview",
|
||||
"--release",
|
||||
"20",
|
||||
"-Xlint:unchecked",
|
||||
"-Xlint:deprecation"
|
||||
)
|
||||
|
||||
lazy val root = project
|
||||
.in(file("."))
|
||||
@@ -33,6 +26,18 @@ lazy val root = project
|
||||
"java.sources" -> baseDirectory.value.toGlob / "src" / "main" / "java" / ** / "*.java",
|
||||
"glue.sources" -> baseDirectory.value.toGlob / "glue" / "src" / ** / "*.rs"
|
||||
),
|
||||
Compile / doc / javacOptions ++= Seq(
|
||||
"--enable-preview",
|
||||
"--release",
|
||||
"20",
|
||||
),
|
||||
Compile / compile / javacOptions ++= Seq(
|
||||
"--enable-preview",
|
||||
"--release",
|
||||
"20",
|
||||
"-Xlint:unchecked",
|
||||
"-Xlint:deprecation"
|
||||
),
|
||||
path := Map(
|
||||
"glue.base" -> (baseDirectory.value / "glue").toString,
|
||||
"glue.target" -> (baseDirectory.value / "target" / "glue" / "debug").toString,
|
||||
|
||||
Reference in New Issue
Block a user