-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.sbt
65 lines (48 loc) · 1.6 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
65
import SonatypeKeys._
sonatypeSettings
name := "sInstagram"
version := "0.2.9"
scalaVersion := "2.11.8"
scalacOptions += "-feature"
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
libraryDependencies ++= Seq(
"com.yukihirai0505" % "scala-request-json_2.11" % "2.2",
"org.scalatest" % "scalatest_2.11" % "3.0.0"
)
// when library release, it should be false
coverageEnabled := false
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 }
organization := "com.yukihirai0505"
organizationName := "com.yukihirai0505"
profileName := "com.yukihirai0505"
organizationHomepage := Some(url("https://yukihirai0505.github.io"))
description := "A Scala library for the Instagram API"
pomExtra :=
<url>https://github.com/yukihirai0505/sInstagram</url>
<licenses>
<license>
<name>MIT</name>
<url>https://github.com/yukihirai0505/sInstagram/blob/master/LICENSE.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>git@github.com:yukihirai0505/sInstagram.git</url>
<connection>scm:git:git@github.com:yukihirai0505/sInstagram.git</connection>
</scm>
<developers>
<developer>
<id>yukihirai0505</id>
<name>Yuki Hirai</name>
<url>https://yukihirai0505.github.io</url>
</developer>
</developers>