-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.sbt
68 lines (48 loc) · 1.83 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
organization := "com.jayantkrish.jklol"
name := "jklol"
description := "Jayant Krishnamurthy's (machine) learning and optimization library"
version := "1.2.1"
scalaVersion := "2.11.7"
scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature")
javacOptions in compile ++= Seq("-Xlint:unchecked", "-source", "1.8", "-target", "1.8")
javacOptions in doc ++= Seq("-source", "1.8")
crossScalaVersions := Seq("2.11.7", "2.10.5")
javaSource in Compile := baseDirectory.value / "src"
javaSource in Test := baseDirectory.value / "test"
fork in run := true
libraryDependencies ++= Seq(
"com.google.guava" % "guava" % "17.0",
"net.sf.jopt-simple" % "jopt-simple" % "4.9",
"com.fasterxml.jackson.core" % "jackson-databind" % "2.2.3",
"com.fasterxml.jackson.core" % "jackson-core" % "2.2.3",
"com.fasterxml.jackson.core" % "jackson-annotations" % "2.2.3",
"junit" % "junit" % "3.8" % "test",
"com.novocode" % "junit-interface" % "0.11" % "test"
)
publishMavenStyle := true
// Don't prepend the scala version number
crossPaths := false
pomIncludeRepository := { _ => false }
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
publishArtifact in Test := false
licenses += "Simplified BSD License" -> url("http://opensource.org/licenses/BSD-2-Clause")
homepage := Some(url("https://github.com/jayantk/jklol"))
pomExtra := (
<scm>
<url>[email protected]:jayantk/jklol.git</url>
<connection>scm:git:[email protected]:jayantk/jklol.git</connection>
</scm>
<developers>
<developer>
<id>jayantk</id>
<name>Jayant Krishnamurthy</name>
<email>[email protected]</email>
<url>http://cs.cmu.edu/~jayantk</url>
</developer>
</developers>)