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),
|
.withFollowHttpToHttpsRedirections(true),
|
||||||
parallel = parallelDownloads,
|
parallel = parallelDownloads,
|
||||||
classpathOrder = true,
|
classpathOrder = true,
|
||||||
|
missingOk = sbtClassifiers
|
||||||
)
|
)
|
||||||
|
|
||||||
val resOrError = ArtifactsRun.artifacts(
|
val resOrError = ArtifactsRun.artifacts(
|
||||||
|
|
|
||||||
|
|
@ -139,6 +139,7 @@ object UpdateTasks {
|
||||||
includeSignatures,
|
includeSignatures,
|
||||||
sbtBootJarOverrides,
|
sbtBootJarOverrides,
|
||||||
classpathOrder = true,
|
classpathOrder = true,
|
||||||
|
missingOk = sbtClassifiers
|
||||||
)
|
)
|
||||||
|
|
||||||
val rep = UpdateRun.update(params, verbosityLevel, log)
|
val rep = UpdateRun.update(params, verbosityLevel, log)
|
||||||
|
|
|
||||||
|
|
@ -160,7 +160,8 @@ object LmCoursierPlugin extends AutoPlugin {
|
||||||
.withIvyHome(ivyPaths.value.ivyHome)
|
.withIvyHome(ivyPaths.value.ivyHome)
|
||||||
.withStrict(strict)
|
.withStrict(strict)
|
||||||
.withForceVersions(userForceVersions.toVector)
|
.withForceVersions(userForceVersions.toVector)
|
||||||
.withMissingOk(updateConfig.missingOk)
|
// seems missingOk is false in the updateConfig of updateSbtClassifiers?
|
||||||
|
.withMissingOk(updateConfig.missingOk || sbtClassifiers)
|
||||||
.withSbtClassifiers(sbtClassifiers)
|
.withSbtClassifiers(sbtClassifiers)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue