-
Notifications
You must be signed in to change notification settings - Fork 32
/
build.sbt
38 lines (29 loc) · 1.26 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
name := "potigol"
organization := "potigol"
version := "1.0-RC2"
scalaVersion := "2.12.12"
Compile / javacOptions ++= Seq("-source", "1.8", "-target", "1.8", "-Xlint")
Compile / scalacOptions ++= Seq("-deprecation")
mainClass in (Compile, packageBin) := Some("br.edu.ifrn.potigol.Principal")
assemblyOutputPath in assembly := file("jar/potigol.jar")
libraryDependencies ++= Seq(
("org.antlr" % "antlr4" % "4.13.1").
exclude("com.ibm.icu", "icu4j").
exclude("org.abego.treelayout", "org.abego.treelayout.core").
exclude("org.antlr", "ST4").
exclude("org.glassfish", "javax.json"),
"org.antlr" % "antlr4-runtime" % "4.13.1" ,
"org.scala-lang" % "scala-library" % "2.12.12" ,
("org.scala-lang" % "scala-compiler" % "2.12.12").
exclude("org.scala-lang.modules", "scala-xml_2.12"),
"org.scala-lang" % "scala-reflect" % "2.12.12"
)
enablePlugins(Antlr4Plugin)
enablePlugins(GraalVMNativeImagePlugin)
Antlr4 / antlr4Version := "4.13.1"
Antlr4 / antlr4PackageName := Some("br.edu.ifrn.potigol.parser")
Antlr4 / antlr4GenListener := true
Antlr4 / antlr4GenVisitor := true
//EclipseKeys.withSource in ThisBuild := true
//EclipseKeys.withJavadoc in ThisBuild := true
//EclipseKeys.createSrc in ThisBuild := EclipseCreateSrc.Default + EclipseCreateSrc.ManagedClasses