This repository has been archived by the owner on Mar 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.sbt
47 lines (46 loc) · 1.47 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
lazy val root = project.in(file("."))
.aggregate(scalacrypt)
.settings(
publish := {},
publishLocal := {},
publishTo := Some(Resolver.file("Unused transient repository", file("target/unusedrepo")))
)
lazy val scalacrypt = project.in(file("."))
.settings(
name := "scalacrypt",
organization := "xyz.wiedenhoeft",
version := "0.5-SNAPSHOT",
licenses := Seq("Apache" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
homepage := Some(url("https://github.com/richard-w/scalacrypt")),
scalaVersion := "2.12.8",
scalacOptions ++= Seq("-feature", "-unchecked", "-deprecation", "-opt:_"),
libraryDependencies ++= {
Seq(
"org.scalatest" %% "scalatest" % "3.0.5"
)
},
publishMavenStyle := true,
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")
},
publishArtifact in Test := false,
useGpg := true,
usePgpKeyHex("CB8F8B69"),
pomExtra := (
<developers>
<developer>
<id>richard-w</id>
<name>Richard Wiedenhöft</name>
<url>https://github.com/Richard-W</url>
</developer>
</developers>
<scm>
<url>https://github.com/richard-w/scalacrypt</url>
<connection>scm:https://github.com/richard-w/scalacrypt.git</connection>
</scm>
)
)