-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.sbt
59 lines (44 loc) · 1.57 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
organization := "io.code-check"
name := """github-api"""
version := "0.3.1"
scalaVersion := "2.13.1"
crossScalaVersions := Seq("2.10.7", "2.11.12", "2.12.10", "2.13.1")
description := "The GitHub API from Scala with Async HTTP Client (Netty)"
licenses := Seq("MIT" -> url("http://opensource.org/licenses/MIT"))
homepage := Some(url("http://github.com/code-check/github-api-scala"))
scmInfo := Some(
ScmInfo(
url("https://github.com/code-check/github-api-scala"),
"scm:[email protected]:code-check/github-api-scala.git"
)
)
developers := List(
Developer(
id = "shunjikonishi",
name = "Shunji Konishi",
email = "@shunjikonishi",
url = url("http://qiita.com/shunjikonishi")
)
)
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 }
// Change this to another test framework if you prefer
libraryDependencies ++= Seq(
"com.ning" % "async-http-client" % "1.9.40" % "provided",
"org.asynchttpclient" % "async-http-client" % "2.0.39" % "provided",
"org.json4s" %% "json4s-jackson" % "3.6.6",
"org.json4s" %% "json4s-ext" % "3.6.6",
"joda-time" % "joda-time" % "2.10.1",
"com.github.scopt" %% "scopt" % "3.7.1",
"org.slf4j" % "slf4j-nop" % "1.7.26" % "test",
"org.scalatest" %% "scalatest" % "3.0.8" % "test"
)
scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature")