-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
53 lines (39 loc) · 1.36 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
name := "PayPalModule"
version := "1.1"
organization := "de.intelligyscience"
organizationName := "Intelligy Science UG (haftungsbeschränkt)"
scalaVersion := "2.11.7"
libraryDependencies += "org.scalaj" %% "scalaj-http" % "2.2.0"
publishTo := Some(
if (version.value endsWith "-SNAPSHOT")
Opts.resolver.sonatypeSnapshots
else
Opts.resolver.sonatypeStaging
)
licenses += (("MIT", url("http://opensource.org/licenses/MIT")))
startYear := Some(2016)
pomExtra :=
<developers>
<developer>
<id>IntelligyScience</id>
<name>Andre Schmidt</name>
<url>https://github.com/IntelligyScience</url>
</developer>
</developers>
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
homepage := Some(url("https://github.com/IntelligyScience/PlayPayPalIntegration"))
scmInfo := Some(ScmInfo(
url("https://github.com/IntelligyScience/PlayPayPalIntegration"),
"scm:git:https://github.com/IntelligyScience/PlayPayPalIntegration.git",
Some("scm:git:[email protected]:IntelligyScience/PlayPayPalIntegration.git")
))
credentials += Credentials(Path.userHome / ".sbt" / ".isCredentials")
publishTo := {
val nexus = "http://46.4.103.179:8888/nexus/content/repositories/"
if (isSnapshot.value)
Some("snapshots" at nexus + "snapshots/")
else
Some("releases" at nexus + "releases/")
}