aboutsummaryrefslogtreecommitdiff
path: root/build.sbt
blob: 4d6cc2685bdd3f59495d2782d132d9dd356b7ba4 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name := "sbt-boilerplate"

organization := "io.spray"

version := "0.6.0-SNAPSHOT"

description := "An SBT plugin for simple generation of boilerplate"

startYear := Some(2012)

homepage := Some(url("http://github.com/sbt/sbt-boilerplate"))

organizationHomepage := Some(url("http://spray.io"))

licenses in GlobalScope += "Apache License 2.0" -> url("https://github.com/sbt/sbt-boilerplate/raw/master/LICENSE")

sbtPlugin := true

scalacOptions := Seq("-deprecation", "-encoding", "utf8")

CrossBuilding.crossSbtVersions := Seq("0.11.2", "0.11.3", "0.12", "0.13")

///////////////
// publishing
///////////////

publishMavenStyle := false

publishTo := Some(Resolver.url("sbt-plugin-releases repo", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns))

///////////////
// ls-sbt
///////////////

seq(lsSettings :_*)

(LsKeys.tags in LsKeys.lsync) := Seq("sbt-plugin", "sbt", "plugin", "boilerplate", "code-generation")

(LsKeys.docsUrl in LsKeys.lsync) <<= homepage

crossBuildingSettings

libraryDependencies <+= scalaVersion {
  case v if v startsWith "2.9." => "org.specs2" % "specs2_2.9.3" % "1.12.4.1" % "test"
  case "2.10.2" => "org.specs2" %% "specs2" % "2.3.13" % "test"
}

ScalariformSupport.formatSettings