-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
32 lines (24 loc) · 1.26 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
lazy val root = project.in(file("."))
val username = "nachinius"
name := "SplayTrees"
organization := "com.nachinius"
description := "A SplayTree implementation"
val repo = "SplayTrees"
scalaVersion := "2.12.4"
val scalaTestVersion = "3.0.4"
//libraryDependencies += "org.scalactic" %% "scalactic" % scalaTestVersion
libraryDependencies += "org.scalatest" %% "scalatest" % scalaTestVersion % "test"
val scalaCheckVersion = "1.13.4"
libraryDependencies += "org.scalacheck" %% "scalacheck" % scalaCheckVersion % "test"
homepage := Some(url(s"https://github.com/$username/$repo"))
licenses += "Apache License 2.0" -> url(s"https://github.com/$username/$repo/blob/master/LICENSE")
scmInfo := Some(ScmInfo(url(s"https://github.com/$username/$repo"), s"[email protected]:$username/$repo.git"))
// apiURL := Some(url(s"https://$username.github.io/$repo/latest/api/")),
releaseCrossBuild := true
releasePublishArtifactsAction := PgpKeys.publishSigned.value
developers := List(
Developer(id = username, name = "Ignacio `nachinius` Peixoto", email = "[email protected]", url = new URL(s"http://github.com/${username}"))
)
publishMavenStyle := true
publishArtifact in Test := true
publishTo := Some(if (isSnapshot.value) Opts.resolver.sonatypeSnapshots else Opts.resolver.sonatypeStaging)