forked from takezoe/scala-retry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
47 lines (38 loc) · 1.17 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
47
name := "scala-retry"
organization := "com.github.takezoe"
version := "0.0.5"
scalaVersion := "2.12.11"
crossScalaVersions := Seq("2.12.11", "2.13.1", "2.11.12")
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.8" % "test"
)
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (version.value.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
scalacOptions := Seq("-deprecation", "-feature")
pomExtra := (
<url>https://github.com/takezoe/scala-retry</url>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<scm>
<url>https://github.com/takezoe/scala-retry</url>
<connection>scm:git:https://github.com/takezoe/scala-retry.git</connection>
</scm>
<developers>
<developer>
<id>takezoe</id>
<name>Naoki Takezoe</name>
</developer>
</developers>
)