2017-08-08 10:02:27 +00:00
|
|
|
name := "enry-java"
|
|
|
|
organization := "tech.sourced"
|
|
|
|
version := "1.0"
|
|
|
|
|
|
|
|
crossPaths := false
|
|
|
|
autoScalaLibrary := false
|
|
|
|
publishMavenStyle := true
|
|
|
|
exportJars := true
|
|
|
|
|
|
|
|
libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % Test
|
|
|
|
|
|
|
|
unmanagedBase := baseDirectory.value / "lib"
|
|
|
|
unmanagedClasspath in Test += baseDirectory.value / "shared"
|
|
|
|
unmanagedClasspath in Runtime += baseDirectory.value / "shared"
|
|
|
|
unmanagedClasspath in Compile += baseDirectory.value / "shared"
|
|
|
|
testOptions += Tests.Argument(TestFrameworks.JUnit)
|
|
|
|
|
2017-08-11 07:55:22 +00:00
|
|
|
|
|
|
|
artifact in (Compile, assembly) := {
|
|
|
|
val art = (artifact in (Compile, assembly)).value
|
|
|
|
art.copy(`classifier` = Some("assembly"))
|
|
|
|
}
|
|
|
|
|
|
|
|
addArtifact(artifact in (Compile, assembly), assembly)
|