-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.sbt
96 lines (83 loc) · 3.32 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
name := "scala-timeseries-lib"
version := "HEAD-SNAPSHOT"
description := "Lightweight, functional and exact time series library for scala"
homepage := Some(url("https://github.com/Sqooba/scala-timeseries-lib"))
licenses := Seq("Apache 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0"))
organization := "io.sqooba.oss"
organizationName := "Sqooba"
organizationHomepage := Some(url("https://sqooba.io"))
scalaVersion := "2.13.3"
crossScalaVersions := Seq("2.12.14", "2.13.4")
resolvers += Resolver.bintrayRepo("twittercsl", "sbt-plugins")
resolvers += Resolver.sonatypeRepo("snapshots")
val zioVersion = "1.0.11"
libraryDependencies ++= Seq(
"fi.iki.yak" % "compression-gorilla" % "2.1.1",
"org.apache.thrift" % "libthrift" % "0.12.0",
"com.twitter" %% "scrooge-core" % "19.10.0",
"org.scala-lang.modules" %% "scala-collection-compat" % "2.1.2",
"dev.zio" %% "zio" % zioVersion,
"dev.zio" %% "zio-streams" % zioVersion,
"com.storm-enroute" %% "scalameter" % "0.19" % Test,
"dev.zio" %% "zio-test" % zioVersion % Test,
"dev.zio" %% "zio-test-sbt" % zioVersion % Test,
"dev.zio" %% "zio-test-junit" % zioVersion % Test,
"junit" % "junit" % "4.12" % Test,
"org.scalactic" %% "scalactic" % "3.1.2" % Test,
"org.scalatest" %% "scalatest" % "3.1.2" % Test,
"io.dropwizard.metrics" % "metrics-core" % "4.0.0" % Test
)
testFrameworks += new TestFramework("zio.test.sbt.ZTestFramework")
coverageHighlighting := true
coverageExcludedPackages := "<empty>;io.sqooba.oss.timeseries.thrift.*"
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ =>
false
}
parallelExecution in Test := true
scmInfo := Some(
ScmInfo(
url("https://github.com/Sqooba/scala-timeseries-lib"),
"scm:[email protected]:Sqooba/scala-timeseries-lib.git"
)
)
// For releases, check the Manual Release part on
// http://caryrobbins.com/dev/sbt-publishing/
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")
}
}
//// SBT Microsite settings
//enablePlugins(MicrositesPlugin)
//enablePlugins(SiteScaladocPlugin)
//
//micrositeHomepage := "https://sqooba.github.io/scala-timeseries-lib/"
//micrositeUrl := "https://sqooba.github.io"
//micrositeBaseUrl := "scala-timeseries-lib"
//micrositeCompilingDocsTool := WithMdoc
//micrositeGithubOwner := "Sqooba"
//micrositeGithubRepo := "scala-timeseries-lib"
//micrositeDescription := "A lightweight, functional time series library for Scala"
//micrositeDocumentationUrl := "latest/api/io/sqooba/oss/timeseries"
//micrositePalette := Map(
// "brand-primary" -> "#00C0F3",
// "brand-secondary" -> "#207692",
// "brand-tertiary" -> "#0f3e4d",
// "gray-dark" -> "#49494B",
// "gray" -> "#69696A",
// "gray-light" -> "#E5E5E6",
// "gray-lighter" -> "#F4F3F4",
// "white-color" -> "#FFFFFF"
//)
//micrositeImgDirectory := (resourceDirectory in Compile).value / "docs" / "img"
developers := List(
Developer("shastick", "Shastick", "", url("https://github.com/Shastick")),
Developer("fdevillard", "Florent Devillard", "", url("https://github.com/fdevillard")),
Developer("nsanglar", "NSanglar", "", url("https://github.com/nsanglar")),
Developer("yannbolliger", "Yann Bolliger", "", url("https://github.com/yannbolliger"))
)