feat: rework Runtime.Config.Builder to be Runtime.Builder, add explicit bind to address

This commit is contained in:
Orion Kindel
2023-04-11 13:39:43 -05:00
parent a8aa0f8bf7
commit ea59f92cb5
10 changed files with 201 additions and 143 deletions

View File

@@ -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,