aboutsummaryrefslogtreecommitdiff
path: root/src/main/g8/publish.sbt
blob: e8d0d7c62c561061bd5abca046d56bd78e16e067 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
organization in ThisBuild := "ch.jodersky"
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/$project_name$"))
pomExtra in ThisBuild := {
  <scm>
    <url>git@github.com:jodersky/$project_name$.git</url>
    <connection>scm:git:git@github.com:jodersky/$project_name$.git</connection>
  </scm>
  <developers>
    <developer>
      <id>jodersky</id>
      <name>Jakob Odersky</name>
    </developer>
  </developers>
}