-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
64 lines (49 loc) · 1.9 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
lazy val scanndal = project.in(file(".")).settings(Seq(
organization := "de.aktey.scanndal",
name := "scanndal",
scalaVersion := "2.12.0",
crossScalaVersions := Seq("2.10.6", "2.11.8", "2.12.0"),
scalacOptions ++= Seq("-deprecation", "-feature"),
homepage := Some(url("https://github.com/ouven/scanndal/wiki")),
licenses := Seq(
"Apache License Version 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0"),
"The New BSD License" -> url("http://www.opensource.org/licenses/bsd-license.html")
),
resolvers += "Scalaz Bintray Repo" at "http://dl.bintray.com/scalaz/releases",
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.0" % "test",
// relase with sbt-pgp plugin
releasePublishArtifactsAction := PgpKeys.publishSigned.value,
releaseProcess := ReleaseProcess.steps,
releaseCrossBuild := true,
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")
},
publishMavenStyle := true,
scalacOptions ++= Seq("-deprecation", "-feature"),
publishArtifact in Test := false,
pomIncludeRepository := { _ => false },
pomExtra := <issueManagement>
<system>github</system>
<url>https://github.com/ouven/scanndal/issues</url>
</issueManagement>
<developers>
<developer>
<name>Ruben Wagner</name>
<url>https://github.com/ouven</url>
<roles>
<role>owner</role>
<role>developer</role>
</roles>
<timezone>+1</timezone>
</developer>
</developers>
<scm>
<url>git@github.com:ouven/scanndal.git</url>
<connection>scm:git:git@github.com:ouven/scanndal.git</connection>
<developerConnection>scm:git:git@github.com:ouven/scanndal.git</developerConnection>
</scm>
))