aboutsummaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
authorJohannes Rudolph <johannes_rudolph@gmx.de>2012-10-10 09:57:18 +0200
committerJohannes Rudolph <johannes_rudolph@gmx.de>2012-10-10 09:57:18 +0200
commit7ccabd803ca26cde46c970c7fea45d59b7c54b3d (patch)
treee4ad3f720071c9864e22168afb1f2a0e8fd3428f /build.sbt
parent14435c6e5264d8bf665695b503cbcb574e96aaa3 (diff)
downloadsbt-boilerplate-7ccabd803ca26cde46c970c7fea45d59b7c54b3d.tar.gz
sbt-boilerplate-7ccabd803ca26cde46c970c7fea45d59b7c54b3d.tar.bz2
sbt-boilerplate-7ccabd803ca26cde46c970c7fea45d59b7c54b3d.zip
first version of plugin
Diffstat (limited to 'build.sbt')
-rw-r--r--build.sbt41
1 files changed, 41 insertions, 0 deletions
diff --git a/build.sbt b/build.sbt
new file mode 100644
index 0000000..1061a87
--- /dev/null
+++ b/build.sbt
@@ -0,0 +1,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 \ No newline at end of file