aboutsummaryrefslogtreecommitdiff
path: root/build.sbt
blob: 1061a871196a7246fe7f69f059c06d9c8fbc91a7 (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
name := "sbt-boilerplate"

organization := "cc.spray"

version := "0.5.0-SNAPSHOT"

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

startYear := Some(2012)

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

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

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

sbtPlugin := true

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

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

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

credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")

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