mirror of https://github.com/sbt/sbt.git
Adds addMavenResolverPlugin. #1808/#1793
This commit is contained in:
parent
2906edb872
commit
b201bbab8c
|
|
@ -468,8 +468,7 @@ def otherRootSettings = Seq(
|
||||||
Scripted.scriptedPrescripted := { f =>
|
Scripted.scriptedPrescripted := { f =>
|
||||||
val inj = f / "project" / "maven.sbt"
|
val inj = f / "project" / "maven.sbt"
|
||||||
if (!inj.exists) {
|
if (!inj.exists) {
|
||||||
IO.write(inj, """libraryDependencies += Defaults.sbtPluginExtra("org.scala-sbt" % "sbt-maven-resolver" % sbtVersion.value,
|
IO.write(inj, "addMavenResolverPlugin")
|
||||||
|sbtBinaryVersion.value, scalaBinaryVersion.value)""".stripMargin)
|
|
||||||
// sLog.value.info(s"""Injected project/maven.sbt to $f""")
|
// sLog.value.info(s"""Injected project/maven.sbt to $f""")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue