-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
115 lines (103 loc) · 3.69 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
ThisBuild / scalaVersion := "3.5.0-RC1"
Global / resolvers += "scala-integration" at "https://scala-ci.typesafe.com/artifactory/scala-integration/"
val scala2Opts = Seq("-feature", "-language:implicitConversions", "-deprecation", "-Ytasty-reader")
val scala3Opts = Seq("-feature", "-language:implicitConversions", "-indent", "-Xwiki-syntax", "-Xmax-inlines", "128", "-new-syntax")
// val scala2Opts = Seq("-feature", "-language:implicitConversions", "-explaintypes", "-deprecation", "-Ytasty-reader")
// val scala3Opts = Seq("-feature", "-language:implicitConversions", "-explain-types", "-indent", "-new-syntax")
lazy val root = (project in file("."))
.aggregate(`game-flow`, `game-fold`, `game-fill`)
.settings(
name := "urru",
organization := "sjb.ia.ga",
organizationName := "sjbiaga",
version := "1.0",
maxErrors := 5,
scalaVersion := "3.5.0-RC1",
javacOptions ++= Seq("-source", "16"),
crossScalaVersions ++= Seq("2.13.14", "3.5.0-RC1"),
scalacOptions ++= scala3Opts, // :+ "-Xprint:typer",
)
lazy val base = (project in file("base"))
.settings(
name := "base",
organization := "sjb.ia.ga",
organizationName := "sjbiaga",
version := "1.0",
maxErrors := 5,
scalaVersion := "3.5.0-RC1",
javacOptions ++= Seq("-source", "16"),
crossScalaVersions ++= Seq("2.13.14", "3.5.0-RC1"),
scalacOptions ++= scala3Opts, // :+ "-Xprint:typer",
)
lazy val grid = (project in file("grid"))
.dependsOn(base)
.settings(
name := "grid",
organization := "sjb.ia.ga",
organizationName := "sjbiaga",
version := "1.0",
maxErrors := 5,
scalaVersion := "3.5.0-RC1",
javacOptions ++= Seq("-source", "16"),
crossScalaVersions ++= Seq("2.13.14", "3.5.0-RC1"),
scalacOptions ++= scala3Opts, // :+ "-Xprint:typer",
)
lazy val game = (project in file("game"))
.dependsOn(grid)
.settings(
name := "game",
organization := "sjb.ia.ga",
organizationName := "sjbiaga",
version := "1.0",
maxErrors := 5,
scalaVersion := "3.5.0-RC1",
javacOptions ++= Seq("-source", "16"),
crossScalaVersions ++= Seq("2.13.14", "3.5.0-RC1"),
scalacOptions ++= scala3Opts, // :+ "-Xprint:typer",
)
lazy val `game-flow` = (project in file("game/flow"))
.dependsOn(game)
.enablePlugins(DockerPlugin)
.settings(
name := "game.flow",
organization := "sjb.ia.ga",
organizationName := "sjbiaga",
version := "1.0",
maxErrors := 5,
scalaVersion := "3.5.0-RC1",
javacOptions ++= Seq("-source", "16"),
crossScalaVersions ++= Seq("2.13.14", "3.5.0-RC1"),
scalacOptions ++= scala3Opts, // :+ "-Xprint:typer",
)
lazy val `game-fold` = (project in file("game/fold"))
.dependsOn(game)
.enablePlugins(DockerPlugin)
.settings(
name := "game.fold",
organization := "sjb.ia.ga",
organizationName := "sjbiaga",
version := "1.0",
maxErrors := 5,
scalaVersion := "3.5.0-RC1",
javacOptions ++= Seq("-source", "16"),
crossScalaVersions ++= Seq("2.13.14", "3.5.0-RC1"),
scalacOptions ++= scala3Opts, // :+ "-Xprint:typer",
)
lazy val `game-fill` = (project in file("game/fill"))
.dependsOn(game)
.enablePlugins(DockerPlugin)
.settings(
name := "game.fill",
organization := "sjb.ia.ga",
organizationName := "sjbiaga",
version := "1.0",
maxErrors := 5,
scalaVersion := "3.5.0-RC1",
javacOptions ++= Seq("-source", "16"),
crossScalaVersions ++= Seq("2.13.14", "3.5.0-RC1"),
scalacOptions ++= scala3Opts, // :+ "-Xprint:typer",
)
// ThisBuild / evictionErrorLevel := Level.Info
Global / bloopExportJarClassifiers := Some(Set("sources"))
Global / onChangedBuildSource := ReloadOnSourceChanges
//Global / onChangedBuildSource := IgnoreSourceChanges