Skip to content
This repository has been archived by the owner on Jan 18, 2018. It is now read-only.

Commit

Permalink
Fix sbt republish to use specified artifacts (correct ivy way)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuereth committed Jul 23, 2013
1 parent f3bd10f commit 5f88532
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion project/SbtRepublish.scala
Expand Up @@ -80,7 +80,9 @@ object SbtRepublish extends Build {
"compiler-interface",
file("compiler-interface"),
settings = buildSettings ++ Seq(
libraryDependencies <+= originalSbtVersion { "org.scala-sbt" % "compiler-interface" % _ % Deps.name classifier "src" },
libraryDependencies <+= originalSbtVersion { v =>
("org.scala-sbt" % "compiler-interface" % v % Deps.name).artifacts(Artifact("compiler-interface-src"))
},
packageSrc in Compile <<= repackageDependency(packageSrc, "compiler-interface-src"),
publishArtifact in packageBin := false,
publishArtifact in (Compile, packageSrc) := true
Expand Down

0 comments on commit 5f88532

Please sign in to comment.