-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
32 lines (27 loc) · 934 Bytes
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / scalaVersion := "3.6.3"
lazy val root = (project in file("."))
.settings(
name := "mc-operator", // TODO: Come up with a new name?
)
lazy val operator = (project in file("operator"))
.settings(
name := "operator",
libraryDependencies ++= Seq(
"dev.zio" %% "zio" % "2.1.15",
"com.coralogix" %% "zio-k8s-client" % "3.1.0",
) ++ Seq(
"com.coralogix" %% "zio-k8s-client",
"com.coralogix" %% "zio-k8s-operator"
).map(_ % "3.1.0") ++ Seq(
"io.circe" %% "circe-core",
"io.circe" %% "circe-generic",
"io.circe" %% "circe-parser"
).map(_ % "0.14.10"),
).enablePlugins(DockerPlugin)
externalCustomResourceDefinitions := Seq(
file("manifest/crd/MinecraftCluster.yaml"),
file("manifest/crd/MinecraftServerSet.yaml"),
file("manifest/crd/MinecraftStorage.yaml"),
)
enablePlugins(K8sCustomResourceCodegenPlugin)