summaryrefslogtreecommitdiff
path: root/publish.sbt
blob: 471f89892bb288942034adb1d0de62017d3cc2e9 (plain) (blame)
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
organization in ThisBuild := "io.crashbox"
publishTo in ThisBuild := {
  if (version.value.contains("SNAPSHOT"))
    Some(
      "snapshots" at "https://oss.sonatype.org/content/repositories/snapshots")
  else
    Some(
      "releases" at "https://oss.sonatype.org/service/local/staging/deploy/maven2")
}
publishArtifact in Test in ThisBuild := false
licenses in ThisBuild := Seq(
  "GPL 3.0" -> url("http://www.gnu.org/licenses/gpl-3.0.en.html"))
homepage in ThisBuild := Some(url("http://github.com/jodersky/crashbox"))
pomExtra in ThisBuild := {
  <scm>
    <url>git@github.com:jodersky/crashbox.git</url>
    <connection>scm:git:git@github.com:jodersky/crashbox.git</connection>
  </scm>
  <developers>
    <developer>
      <id>jodersky</id>
      <name>Jakob Odersky</name>
    </developer>
  </developers>
}