-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
46 lines (36 loc) · 1.21 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
organization := "com.github.losizm"
name := "scamper"
version := "14.1.0"
description := "The HTTP library for Scala"
homepage := Some(url("https://github.com/losizm/scamper"))
licenses := List("Apache License, Version 2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"))
scalaVersion := "2.13.3"
scalacOptions ++= Seq("-deprecation", "-feature", "-Xcheckinit")
crossScalaVersions := Seq("2.12.11")
unmanagedSourceDirectories in Compile += {
(sourceDirectory in Compile).value / s"scala-${scalaBinaryVersion.value}"
}
libraryDependencies += "org.scalatest" %% "scalatest-flatspec" % "3.2.0" % "test"
scmInfo := Some(
ScmInfo(
url("https://github.com/losizm/scamper"),
"scm:git@github.com:losizm/scamper.git"
)
)
developers := List(
Developer(
id = "losizm",
name = "Carlos Conyers",
email = "carlos.conyers@hotmail.com",
url = url("https://github.com/losizm")
)
)
publishMavenStyle := true
pomIncludeRepository := { _ => false }
publishTo := {
val nexus = "https://oss.sonatype.org"
isSnapshot.value match {
case true => Some("snaphsots" at s"$nexus/content/repositories/snapshots")
case false => Some("releases" at s"$nexus/service/local/staging/deploy/maven2")
}
}