mirror of https://github.com/sbt/sbt.git
Address deprecation warning
This commit is contained in:
parent
c89ba1c4ff
commit
b587076320
|
|
@ -31,8 +31,6 @@ class CoursierDependencyResolution(
|
||||||
bootstrappingProtocolHandler = true
|
bootstrappingProtocolHandler = true
|
||||||
)
|
)
|
||||||
|
|
||||||
lmcoursier.CoursierConfiguration.checkLegacyCache()
|
|
||||||
|
|
||||||
private var protocolHandlerClassLoader: Option[ClassLoader] = None
|
private var protocolHandlerClassLoader: Option[ClassLoader] = None
|
||||||
private val protocolHandlerClassLoaderLock = new Object
|
private val protocolHandlerClassLoaderLock = new Object
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ private[internal] object SbtUpdateReport {
|
||||||
.withExtraAttributes(dependency.module.attributes ++ extraProperties)
|
.withExtraAttributes(dependency.module.attributes ++ extraProperties)
|
||||||
.withExclusions(
|
.withExclusions(
|
||||||
dependency
|
dependency
|
||||||
.exclusions
|
.minimizedExclusions
|
||||||
.toVector
|
.toVector
|
||||||
.map {
|
.map {
|
||||||
case (org, name) =>
|
case (org, name) =>
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,6 @@ import sbt.librarymanagement.{ModuleID, Resolver, URLRepository}
|
||||||
|
|
||||||
object SbtCoursierShared extends AutoPlugin {
|
object SbtCoursierShared extends AutoPlugin {
|
||||||
|
|
||||||
lmcoursier.CoursierConfiguration.checkLegacyCache()
|
|
||||||
|
|
||||||
override def trigger = allRequirements
|
override def trigger = allRequirements
|
||||||
|
|
||||||
override def requires = sbt.plugins.JvmPlugin
|
override def requires = sbt.plugins.JvmPlugin
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue