mirror of https://github.com/sbt/sbt.git
Switch to coursier 1.1.0-M14-2 (#60)
This commit is contained in:
parent
b417d4f79e
commit
736d5c11c5
|
|
@ -21,7 +21,7 @@ lazy val `lm-coursier` = project
|
|||
.settings(
|
||||
shared,
|
||||
libraryDependencies ++= Seq(
|
||||
"io.get-coursier" %% "coursier" % "1.1.0-M14-1",
|
||||
"io.get-coursier" %% "coursier" % "1.1.0-M14-2",
|
||||
// We depend on librarymanagement-ivy rather than just
|
||||
// librarymanagement-core to handle the ModuleDescriptor passed
|
||||
// to DependencyResolutionInterface.update, which is an
|
||||
|
|
|
|||
|
|
@ -208,6 +208,8 @@ object InputsTasks {
|
|||
.withUsername(c.userName)
|
||||
.withPassword(c.passwd)
|
||||
.withRealm(Some(c.realm).filter(_.nonEmpty))
|
||||
.withHttpsOnly(false)
|
||||
.withMatchHost(true)
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@ coursierExtraCredentials += {
|
|||
s"""foo.host=${uri(sys.env("TEST_REPOSITORY")).getHost}
|
||||
|foo.username=user
|
||||
|foo.password=pass
|
||||
|foo.auto=true
|
||||
|foo.https-only=false
|
||||
""".stripMargin
|
||||
val dest = baseDirectory.in(ThisBuild).value / "project" / "target" / "cred"
|
||||
Files.write(dest.toPath, content.getBytes("UTF-8"))
|
||||
|
|
|
|||
|
|
@ -2,4 +2,4 @@ coursierExtraCredentials += coursier.credentials.Credentials(
|
|||
uri(sys.env("TEST_REPOSITORY")).getHost,
|
||||
sys.env("TEST_REPOSITORY_USER"),
|
||||
sys.env("TEST_REPOSITORY_PASSWORD")
|
||||
)
|
||||
).withHttpsOnly(false).withMatchHost(true)
|
||||
|
|
|
|||
|
|
@ -6,6 +6,6 @@ coursierExtraCredentials += coursier.credentials.Credentials(
|
|||
uri(sys.env("TEST_REPOSITORY")).getHost,
|
||||
sys.env("TEST_REPOSITORY_USER"),
|
||||
sys.env("TEST_REPOSITORY_PASSWORD")
|
||||
)
|
||||
).withHttpsOnly(false).withMatchHost(true)
|
||||
|
||||
libraryDependencies += "com.abc" % "test" % "0.1"
|
||||
|
|
|
|||
Loading…
Reference in New Issue