From 7ccabd803ca26cde46c970c7fea45d59b7c54b3d Mon Sep 17 00:00:00 2001 From: Johannes Rudolph Date: Wed, 10 Oct 2012 09:57:18 +0200 Subject: first version of plugin --- build.sbt | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 build.sbt (limited to 'build.sbt') 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 -- cgit v1.2.3