Skip to content

Commit

Permalink
move graal configs to separate sbt module
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivoyaa committed May 1, 2024
1 parent 250c156 commit 958a1b4
Show file tree
Hide file tree
Showing 22 changed files with 6 additions and 18,550 deletions.
6 changes: 6 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -135,17 +135,23 @@ def makeExampleProject(moduleName: String, dir: String)(deps: Seq[ModuleID]) =
graalVMNativeImageGraalVersion := Some("ol9-java17-22.3.1"),
run / fork := true,
)
.dependsOn(`graal-configs`)
.enablePlugins(GraalVMNativeImagePlugin, UniversalPlugin)

lazy val root = project
.in(file("."))
.aggregate(
`graal-configs`,
`leaderboard-monofunctor-tf`,
`leaderboard-bifunctor-tf`,
`leaderboard-monomorphic-cats`,
)
.enablePlugins(GraalVMNativeImagePlugin, UniversalPlugin) // enabled here for CI purposes

lazy val `graal-configs` = project
.in(file("graal-configs"))
.settings(Compile / resourceDirectory := baseDirectory.value)

lazy val `leaderboard-monofunctor-tf` = makeExampleProject(
moduleName = "leaderboard-monofunctor-tf",
dir = "distage-example-monofunctor-tf",
Expand Down
Loading

0 comments on commit 958a1b4

Please sign in to comment.