diff --git a/main/src/mill/modules/Jvm.scala b/main/src/mill/modules/Jvm.scala index ccb0c68dc49..269e0d87150 100644 --- a/main/src/mill/modules/Jvm.scala +++ b/main/src/mill/modules/Jvm.scala @@ -759,50 +759,4 @@ object Jvm { } } - @deprecated( - "Use alternative overload. This one is only for binary backwards compatibility.", - "mill after 0.10.0" - ) - def resolveDependencies( - repositories: Seq[Repository], - deps: IterableOnce[coursier.Dependency], - force: IterableOnce[coursier.Dependency], - sources: Boolean, - mapDependencies: Option[Dependency => Dependency], - customizer: Option[coursier.core.Resolution => coursier.core.Resolution], - ctx: Option[mill.api.Ctx.Log] - ): Result[Agg[PathRef]] = - resolveDependencies( - repositories = repositories, - deps = deps, - force = force, - sources = sources, - mapDependencies = mapDependencies, - customizer = customizer, - ctx = ctx, - coursierCacheCustomizer = None - ) - - @deprecated( - "Use alternative overload. This one is only for binary backwards compatibility.", - "mill after 0.10.0" - ) - def resolveDependenciesMetadata( - repositories: Seq[Repository], - deps: IterableOnce[coursier.Dependency], - force: IterableOnce[coursier.Dependency], - mapDependencies: Option[Dependency => Dependency], - customizer: Option[coursier.core.Resolution => coursier.core.Resolution], - ctx: Option[mill.api.Ctx.Log] - ): (Seq[Dependency], Resolution) = - resolveDependenciesMetadata( - repositories = repositories, - deps = deps, - force = force, - mapDependencies = mapDependencies, - customizer = customizer, - ctx = ctx, - coursierCacheCustomizer = None - ) - } diff --git a/scalalib/src/Lib.scala b/scalalib/src/Lib.scala index c7c16a23ad1..336fd7d76eb 100644 --- a/scalalib/src/Lib.scala +++ b/scalalib/src/Lib.scala @@ -124,52 +124,6 @@ object Lib { ivy"$scalaOrganization:scala-library:$scalaVersion".forceVersion() ) - @deprecated( - "User other overload instead. Only for binary backward compatibility.", - "mill after 0.10.0" - ) - def resolveDependenciesMetadata( - repositories: Seq[Repository], - depToDependency: Dep => coursier.Dependency, - deps: IterableOnce[Dep], - mapDependencies: Option[Dependency => Dependency], - customizer: Option[coursier.core.Resolution => coursier.core.Resolution], - ctx: Option[Ctx.Log] - ): (Seq[Dependency], Resolution) = - resolveDependenciesMetadata( - repositories = repositories, - depToDependency = depToDependency, - deps = deps, - mapDependencies = mapDependencies, - customizer = customizer, - ctx = ctx, - coursierCacheCustomizer = None - ) - - @deprecated( - "User other overload instead. Only for binary backward compatibility.", - "mill after 0.10.0" - ) - def resolveDependencies( - repositories: Seq[Repository], - depToDependency: Dep => coursier.Dependency, - deps: IterableOnce[Dep], - sources: Boolean, - mapDependencies: Option[Dependency => Dependency], - customizer: Option[coursier.core.Resolution => coursier.core.Resolution], - ctx: Option[Ctx.Log] - ): Result[Agg[PathRef]] = - resolveDependencies( - repositories = repositories, - depToDependency = depToDependency, - deps = deps, - sources = sources, - mapDependencies = mapDependencies, - customizer = customizer, - ctx = ctx, - coursierCacheCustomizer = None - ) - def findSourceFiles(sources: Seq[PathRef], extensions: Seq[String]): Seq[os.Path] = { def isHiddenFile(path: os.Path) = path.last.startsWith(".") for {