-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.sbt
39 lines (34 loc) · 1.19 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
scalaVersion := "2.13.0"
organization := "com.markatta"
description := "Simple Scala-y wrappers for the Java 8 time APIs"
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.8" % Test
)
releaseCrossBuild := true
crossScalaVersions := Seq("2.11.11", "2.12.3", "2.13.0")
organizationName := "Johan Andrén"
licenses := Seq("Apache License, Version 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0"))
homepage := Some(url("https://github.com/johanandren/timeforscala"))
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
publishTo := Some {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
"snapshots" at nexus + "content/repositories/snapshots"
else
"releases" at nexus + "service/local/staging/deploy/maven2"
}
pomExtra :=
<scm>
<url>[email protected]:johanandren/timeforscala.git</url>
<connection>scm:git:[email protected]:johanandren/timeforscala.git</connection>
</scm>
<developers>
<developer>
<id>johanandren</id>
<name>Johan Andrén</name>
<email>[email protected]</email>
<url>https://markatta.com/johan/codemonkey</url>
</developer>
</developers>