Skip to content

Commit

Permalink
added sbt-cross-building
Browse files Browse the repository at this point in the history
  • Loading branch information
eed3si9n committed Jun 3, 2012
1 parent be77a39 commit c6b7e59
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
15 changes: 9 additions & 6 deletions build.sbt
Expand Up @@ -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
Expand All @@ -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
13 changes: 8 additions & 5 deletions project/plugin.sbt
Expand Up @@ -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.