forked from hayasshi/akka-http-router
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
53 lines (46 loc) · 1.55 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
import Dependencies._
lazy val root = (project in file(".")).
settings(
organization := "com.github.hayasshi",
name := "akka-http-router",
scalaVersion := Versions.scalaVersion,
crossScalaVersions := Versions.crossScalaVersions,
scalacOptions ++= {
Seq("-unchecked", "-deprecation", "-feature", "-language:implicitConversions", "-language:higherKinds", "-Xfuture", "-Xlint")
},
libraryDependencies ++= Seq(
akkaStream % Provided,
akkaHttp % Provided,
akkaHttpTestKit % Test,
scalaTest % Test
),
pomExtra in Global := {
<url>https://github.com/hayasshi/akka-http-router</url>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<scm>
<connection>scm:git:github.com/hayasshi/akka-http-router</connection>
<developerConnection>scm:git:[email protected]:hayasshi/akka-http-router</developerConnection>
<url>github.com/hayasshi/akka-http-router</url>
</scm>
<developers>
<developer>
<id>hayasshi</id>
<name>Daisuke Hayashi</name>
<url>https://github.com/hayasshi</url>
</developer>
</developers>
},
publishTo := sonatypePublishTo.value,
publishMavenStyle := true,
credentials += Credentials(
"Sonatype Nexus Repository Manager",
"oss.sonatype.org",
sys.env.getOrElse("SONATYPE_USER", ""),
sys.env.getOrElse("SONATYPE_PASSWORD", "")
)
)