Permalink
Browse files

added sbt-cross-building

  • Loading branch information...
1 parent be77a39 commit c6b7e59d7f675680e471904a0f15a8a285227103 @eed3si9n eed3si9n committed Jun 3, 2012
Showing with 17 additions and 11 deletions.
  1. +9 −6 build.sbt
  2. +8 −5 project/plugin.sbt
View
15 build.sbt
@@ -6,12 +6,12 @@ organization := "com.eed3si9n"
version := "0.1.2"
+CrossBuilding.crossSbtVersions := Seq("0.11.3", "0.11.2" ,"0.12.0-Beta2")
+
description := "sbt plugin to generate build info"
licenses := Seq("MIT License" -> url("https://github.com/sbt/sbt-buildinfo/blob/master/LICENSE"))
-ScriptedPlugin.scriptedSettings
-
publishArtifact in (Compile, packageBin) := true
publishArtifact in (Test, packageBin) := false
@@ -31,9 +31,12 @@ publishTo <<= (version) { version: String =>
credentials += Credentials(Path.userHome / ".ivy2" / ".sbtcredentials")
-// lsSettings
+lsSettings
+
+LsKeys.tags in LsKeys.lsync := Seq("sbt", "codegen")
-// LsKeys.tags in LsKeys.lsync := Seq("sbt", "codegen")
+(externalResolvers in LsKeys.lsync) := Seq(
+ "sbt-plugin-releases" at "http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases")
-// (externalResolvers in LsKeys.lsync) := Seq(
-// "sbt-plugin-releases" at "http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases")
+// ScriptedPlugin.scriptedSettings
+// CrossBuilding.scriptedSettings
View
13 project/plugin.sbt
@@ -2,13 +2,16 @@ resolvers += Resolver.url("Typesafe repository", new java.net.URL("http://typesa
resolvers += Resolver.url("Typesafe snapshot repository", new java.net.URL("http://typesafe.artifactoryonline.com/typesafe/ivy-snapshots/"))(Resolver.defaultIvyPatterns)
-libraryDependencies <+= (sbtVersion) { sv =>
- "org.scala-sbt" %% "scripted-plugin" % sv
- // "org.scala-sbt" % "scripted-plugin" % sv
-}
+// libraryDependencies <+= (sbtVersion) { sv =>
+// "org.scala-sbt" %% "scripted-plugin" % sv
+// // "org.scala-sbt" % "scripted-plugin" % sv
+// }
resolvers ++= Seq(
"less is" at "http://repo.lessis.me",
"coda" at "http://repo.codahale.com")
-// addSbtPlugin("me.lessis" % "ls-sbt" % "0.1.1")
+addSbtPlugin("me.lessis" % "ls-sbt" % "0.1.1")
+
+// addSbtPlugin("net.virtual-void" % "sbt-cross-building" % "0.6.1-SNAPSHOT")
+addSbtPlugin("net.virtual-void" % "sbt-cross-building" % "0.6.0")

0 comments on commit c6b7e59

Please sign in to comment.