forked from findify/scala-packed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
41 lines (39 loc) · 1.41 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
scalaVersion in ThisBuild := "2.12.4"
lazy val core = (project in file("core")).settings(
name := "scalapacked",
organization := "io.findify",
version := "0.2.0",
licenses := Seq("MIT" -> url("https://opensource.org/licenses/MIT")),
publishMavenStyle := true,
sonatypeProfileName := "io.findify",
homepage := Some(url("https://github.com/findify/scala-packed")),
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")
},
pomExtra := (
<scm>
<url>[email protected]:findify/scala-packed.git</url>
<connection>scm:git:[email protected]:findify/scala-packed.git</connection>
</scm>
<developers>
<developer>
<id>romangrebennikov</id>
<name>Roman Grebennikov</name>
<url>http://www.dfdx.me</url>
</developer>
</developers>),
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.4",
"com.chuusai" %% "shapeless" % "2.3.2",
"com.typesafe.scala-logging" %% "scala-logging" % "3.7.2",
"ch.qos.logback" % "logback-classic" % "1.2.3" % "test"
)
)
lazy val benchmark = (project in file("benchmark")).settings(
name := "scala-packed-benchmark",
libraryDependencies += "com.github.jbellis" % "jamm" % "0.3.2"
).dependsOn(core).enablePlugins(JmhPlugin)