-
Notifications
You must be signed in to change notification settings - Fork 111
/
build.sbt
44 lines (37 loc) · 1.31 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
name := "sbt-docker"
organization := "se.marcuslonnberg"
organizationHomepage := Some(url("https://github.com/marcus-drake"))
lazy val root = (project in file("."))
.enablePlugins(SbtPlugin)
.settings(
scriptedLaunchOpts := { scriptedLaunchOpts.value ++
Seq("-Xmx1024M", "-Dplugin.version=" + version.value)
},
scriptedBufferLog := false
)
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.2.19" % "test",
"org.apache.commons" % "commons-text" % "1.11.0"
)
scalacOptions := Seq("-deprecation", "-unchecked", "-feature")
licenses := Seq("MIT License" -> url("https://github.com/marcus-drake/sbt-docker/blob/master/LICENSE"))
homepage := Some(url("https://github.com/marcus-drake/sbt-docker"))
scmInfo := Some(ScmInfo(url("https://github.com/marcus-drake/sbt-docker"), "scm:git:git://github.com:marcus-drake/sbt-docker.git"))
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")
}
pomIncludeRepository := { _ => false}
pomExtra := {
<developers>
<developer>
<id>marcus-drake</id>
<name>Marcus Drake</name>
<url>http://marcuslonnberg.se</url>
</developer>
</developers>
}