fixed bug with missing .equals method implementation on net.woggioni.worth.value.ObjectEntry fixed multithreaded testing
37 lines
1.1 KiB
Scala
37 lines
1.1 KiB
Scala
name := "worth"
|
|
|
|
organization := "net.woggioni"
|
|
|
|
version := "1.0"
|
|
resolvers += Resolver.mavenLocal
|
|
|
|
scalacOptions ++= Seq(
|
|
"-unchecked",
|
|
"-deprecation",
|
|
"-language:_",
|
|
"-opt:l:inline", "-opt-inline-from",
|
|
"-target:jvm-1.8",
|
|
"-encoding", "UTF-8"
|
|
)
|
|
|
|
git.useGitDescribe := true
|
|
fork := true
|
|
//javaOptions in Test += "-Xmx14G"
|
|
//scalafmtOnCompile := true
|
|
libraryDependencies += "org.projectlombok" % "lombok" % "1.18.8"
|
|
libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % Test
|
|
libraryDependencies += "com.fasterxml.jackson.core" % "jackson-databind" % "2.9.6" % Test
|
|
|
|
libraryDependencies += "org.antlr" % "antlr4" % "4.7.1" % Test
|
|
libraryDependencies += "org.antlr" % "antlr4-runtime" % "4.7.1" % Test
|
|
libraryDependencies += "org.tukaani" % "xz" % "1.8" % Test
|
|
|
|
artifactName := { (sv: ScalaVersion, module: ModuleID, artifact: Artifact) =>
|
|
artifact.name + "-" + module.revision + "." + artifact.extension
|
|
}
|
|
|
|
enablePlugins(Antlr4Plugin)
|
|
antlr4Version in Antlr4 := "4.7.1"
|
|
antlr4PackageName in Antlr4 := Some("net.woggioni.worth.antlr")
|
|
|
|
testOptions += Tests.Argument(TestFrameworks.JUnit, "-q", "-a") |