-
Notifications
You must be signed in to change notification settings - Fork 45
/
build.sbt
64 lines (50 loc) · 1.74 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
63
64
name := "authentikat-jwt"
organization := "com.jason-goodwin"
scalaVersion := "2.12.2"
crossScalaVersions := Seq("2.10.6", "2.11.11", "2.12.2") //sbt '+ publish'
parallelExecution := false
scalacOptions ++= Seq("-unchecked", "-deprecation")
libraryDependencies ++= Seq(
"commons-codec" % "commons-codec" % "1.10",
"org.json4s" %% "json4s-native" % "3.5.2",
"org.json4s" %% "json4s-jackson" % "3.5.2",
"org.scalatest" %% "scalatest" % "3.0.3" % Test
)
credentials += Credentials(Path.userHome / ".mdialog.credentials")
resolvers ++= Seq(
"Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/"
)
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
pomIncludeRepository := { _ => false }
pomExtra := (
<url>http://github.com/jason-goodwin.com/authentikat-jwt</url>
<licenses>
<license>
<name>Apache2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>git@github.com:jasongoodwin/authentikat-jwt.git</url>
<connection>scm:git:git@github.com:jasongoodwin/authentikat-jwt.git</connection>
</scm>
<developers>
<developer>
<id>jasongoodwin</id>
<name>Jason Goodwin</name>
<url>http://refactoringfactory.wordpress.com</url>
</developer>
</developers>)
credentials += Credentials("Sonatype Nexus Repository Manager",
"oss.sonatype.org",
"<your username>",
"<your password>")