-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathbuild.sbt
More file actions
48 lines (42 loc) · 1.24 KB
/
build.sbt
File metadata and controls
48 lines (42 loc) · 1.24 KB
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
name := "Scopus"
organization := "za.co.monadic"
version := "0.5.4"
scalaVersion := "2.13.6"
crossScalaVersions := Seq("2.12.15", "2.13.6")
scalacOptions ++= Seq(
"-deprecation"
)
fork in Test := true
organizationName := "David Weber"
startYear := Some(2020)
licenses += ("Apache-2.0", new URL("https://www.apache.org/licenses/LICENSE-2.0.txt"))
homepage := Some(url("https://github.com/davidmweber/scopus"))
libraryDependencies ++= List(
"org.scalatest" %% "scalatest-shouldmatchers" % "3.2.9" % "test",
"org.scalatest" %% "scalatest-funspec" % "3.2.9" % "test"
)
publishMavenStyle := true
// sbt publishSigned
// sbt sonatypeRelease
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
}
pomExtra :=
<scm>
<url>git@github.com:davidmweber/scopus.git</url>
<connection>scm:git:git@github.com:davidmweber/scopus.git</connection>
</scm>
<developers>
<developer>
<id>davidmweber</id>
<name>David Weber</name>
<url>https://github.com/davidmweber</url>
</developer>
</developers>