-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
38 lines (38 loc) · 1.29 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
val arm = (project in file(".")).
settings(
organization := "io.tmos",
name := "arm4s",
scalaVersion := "2.13.1",
// remember to update travis CI
crossScalaVersions := Seq("2.10.7", "2.11.12", "2.12.10", "2.13.1" ),
scalacOptions ++= Seq("-deprecation", "-feature", "-Xfatal-warnings"),
Compile / doc / scalacOptions ++= Seq("-groups", "-implicits"),
autoAPIMappings := true,
libraryDependencies += "org.scalatest" %% "scalatest" % "3.1.0" % Test,
licenses := Seq("BSD-3-Clause" -> url("https://opensource.org/licenses/BSD-3-Clause")),
homepage := Some(url("https://github.com/tmoschou/arm4s")),
publishMavenStyle := true,
Test / publishArtifact := false,
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")
},
pomIncludeRepository := { _ => false },
scmInfo := Some(
ScmInfo(
homepage.value.get,
"scm:git:[email protected]:tmoschou/arm4s.git"
)
),
developers := List(
Developer(
"tmoschou",
"Terry Moschou",
url("https://github.com/tmoschou/")
)
)
)