-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.sbt
55 lines (45 loc) · 1.51 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
name := "think-bayes"
organization := "net.ruippeixotog"
version := "1.0-SNAPSHOT"
scalaVersion := "2.12.19"
crossScalaVersions := Seq("2.12.19")
libraryDependencies ++= Seq(
"de.sciss" %% "scala-chart" % "0.8.0",
"nz.ac.waikato.cms.weka" % "weka-stable" % "3.8.6",
"org.apache.commons" % "commons-math3" % "3.6.1",
"org.specs2" %% "specs2-core" % "4.15.0" % "test"
)
scalacOptions ++= Seq(
"-deprecation",
"-unchecked",
"-feature",
"-language:implicitConversions",
"-language:higherKinds"
)
scalafmtOnCompile := true
console / initialCommands := """
import thinkbayes._
import thinkbayes.extensions.Plotting._
import thinkbayes.extensions.Distributions._"""
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")
}
publishMavenStyle := true
Test / publishArtifact := false
pomIncludeRepository := { _ => false }
licenses := Seq("MIT License" -> url("http://www.opensource.org/licenses/mit-license.php"))
homepage := Some(url("https://github.com/ruippeixotog/think-bayes-scala"))
scmInfo := Some(
ScmInfo(
url("https://github.com/ruippeixotog/think-bayes-scala"),
"scm:git:https://github.com/ruippeixotog/think-bayes-scala.git",
"scm:git:git@github.com:ruippeixotog/think-bayes-scala.git"
)
)
developers := List(
Developer("ruippeixotog", "Rui Gonçalves", "ruippeixotog@gmail.com", url("https://www.ruippeixotog.net"))
)