aboutsummaryrefslogtreecommitdiff
path: root/examples/sonatype-release-example/build/build.scala
blob: 18ef987c71eaf2a814ba9a34da5e3a3be9539630 (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
26
27
28
29
30
31
import java.net.URL

import cbt._

class Build(val context: Context) extends SonatypeRelease {
  def groupId: String = "com.github.rockjam"
  def version: String = "0.0.15"
  override def name: String = "cbt-sonatype-release-example"

  def description: String = "Plugin for CBT to release artifacts to sonatype OSS"
  def developers: Seq[Developer] = Seq(
    Developer(
      "rockjam",
      "Nikolay Tatarinov",
      "GMT+3",
      new URL("https://github.com/rockjam")
    )
  )
  def inceptionYear: Int = 2016
  def licenses: Seq[cbt.License] = Seq(License.Apache2)
  def organization: Option[cbt.Organization] = None
  def scmConnection: String = ""
  def scmUrl: String = "https://github.com/rockjam/cbt-sonatype.git"
  def url: java.net.URL = new URL("https://github.com/rockjam/cbt-sonatype")

  override def dependencies =
    super.dependencies ++
      Resolver( mavenCentral ).bind(
        ScalaDependency("com.chuusai", "shapeless", "2.3.2")
      )
}