/
build.sbt
45 lines (36 loc) · 1.19 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
import Dependencies._
enablePlugins(Antlr4Plugin)
ThisBuild / organization := "org.pchapin"
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / scalaVersion := "2.13.12"
ThisBuild / scalacOptions :=
Seq("-encoding", "UTF-8", // Encoding of the source files.
"-feature",
"-deprecation", // Tell us about deprecated things.
"-unchecked",
"-Wunused:nowarn", // Warn if the nowarn annotation doesn't actually suppress a warning.
"-Xsource:3", // Help us migrate to Scala 3.
"-Ywarn-dead-code",
"-Ywarn-value-discard")
Test / logBuffered := false
lazy val augusta = (project in file("."))
.settings(
name := "Augusta",
libraryDependencies ++= augustaDeps,
Antlr4 / antlr4Version := "4.13.1",
Antlr4 / antlr4PackageName := Some("org.pchapin.augusta"),
Antlr4 / antlr4GenListener := true,
Antlr4 / antlr4GenVisitor := true
)
.dependsOn(dragon)
lazy val tiger = (project in file("Tiger"))
.settings(
name := "Tiger",
libraryDependencies ++= tigerDeps
)
.dependsOn(dragon)
lazy val dragon = (project in file("Dragon"))
.settings(
name := "Dragon",
libraryDependencies ++= dragonDeps
)