mirror of https://github.com/sbt/sbt.git
Set missingOk if sbtClassifiers is true
Seems sbt doesn't do it by default
This commit is contained in:
parent
66711aa796
commit
907d26865a
|
|
@ -72,6 +72,7 @@ object ArtifactsTasks {
|
|||
.withFollowHttpToHttpsRedirections(true),
|
||||
parallel = parallelDownloads,
|
||||
classpathOrder = true,
|
||||
missingOk = sbtClassifiers
|
||||
)
|
||||
|
||||
val resOrError = ArtifactsRun.artifacts(
|
||||
|
|
|
|||
|
|
@ -139,6 +139,7 @@ object UpdateTasks {
|
|||
includeSignatures,
|
||||
sbtBootJarOverrides,
|
||||
classpathOrder = true,
|
||||
missingOk = sbtClassifiers
|
||||
)
|
||||
|
||||
val rep = UpdateRun.update(params, verbosityLevel, log)
|
||||
|
|
|
|||
|
|
@ -160,7 +160,8 @@ object LmCoursierPlugin extends AutoPlugin {
|
|||
.withIvyHome(ivyPaths.value.ivyHome)
|
||||
.withStrict(strict)
|
||||
.withForceVersions(userForceVersions.toVector)
|
||||
.withMissingOk(updateConfig.missingOk)
|
||||
// seems missingOk is false in the updateConfig of updateSbtClassifiers?
|
||||
.withMissingOk(updateConfig.missingOk || sbtClassifiers)
|
||||
.withSbtClassifiers(sbtClassifiers)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue