-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
74 lines (51 loc) · 2.02 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
name := "prolog"
version := "0.3"
scalaVersion := "2.13.0"
//crossScalaVersions := Seq( "2.11.11" )
scalacOptions ++= Seq( "-deprecation", "-feature", "-unchecked", "-language:postfixOps", "-language:implicitConversions", "-language:existentials" )
organization := "xyz.hyperreal"
//resolvers += Resolver.sonatypeRepo( "snapshots" )
resolvers += "Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/"
resolvers += "Hyperreal Repository" at "https://dl.bintray.com/edadma/maven"
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.8" % "test",
"org.scalacheck" %% "scalacheck" % "1.14.0" % "test"
)
libraryDependencies ++= Seq(
// "org.scala-lang.modules" %% "scala-parser-combinators" % "1.1.0",
// "org.scala-lang.modules" %% "scala-xml" % "1.0.6"
// "org.scala-lang.modules" %% "scala-swing" % "2.0.3"
)
//libraryDependencies ++= Seq(
// "com.typesafe" % "config" % "1.3.3"
//)
libraryDependencies ++= Seq(
"jline" % "jline" % "2.14.6"
)
libraryDependencies ++= Seq(
// "xyz.hyperreal" %% "pattern-matcher" % "0.2.16",
"xyz.hyperreal" %% "recursive-descent-parser" % "0.2",
"xyz.hyperreal" %% "lia" % "0.23",
"xyz.hyperreal" %% "args" % "0.2"
)
coverageExcludedPackages := ".*Main"
mainClass in (Compile, run) := Some( "xyz.hyperreal." + name.value.replace('-', '_') + ".Main" )
mainClass in assembly := Some( "xyz.hyperreal." + name.value.replace('-', '_') + ".Main" )
assemblyJarName in assembly := name.value + "-" + version.value + ".jar"
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
licenses := Seq("ISC" -> url("https://opensource.org/licenses/ISC"))
homepage := Some(url("https://github.com/edadma/" + name.value))
pomExtra :=
<scm>
<url>git@github.com:edadma/{name.value}.git</url>
<connection>scm:git:git@github.com:edadma/{name.value}.git</connection>
</scm>
<developers>
<developer>
<id>edadma</id>
<name>Edward A. Maxedon, Sr.</name>
<url>https://github.com/edadma</url>
</developer>
</developers>