34 lines
1.1 KiB
Scala
34 lines
1.1 KiB
Scala
name := "worth"
|
|
|
|
organization := "org.oggio88"
|
|
|
|
version := "1.0"
|
|
resolvers += Resolver.mavenLocal
|
|
scalaVersion := "2.12.6"
|
|
|
|
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 += "-Dorg.oggio88.javason.value.ObjectValue.listBasedImplementation=true"
|
|
javaOptions in Test += "-Xmx6G"
|
|
//scalafmtOnCompile := true
|
|
libraryDependencies += "org.projectlombok" % "lombok" % "1.18.2"
|
|
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" % "compile"
|
|
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
|
|
}
|