mirror of https://github.com/sbt/sbt.git
Expose RichUpdateReport enrichment
This commit is contained in:
parent
723abc945f
commit
1afe7114e8
|
|
@ -19,8 +19,7 @@ import org.apache.ivy.plugins.resolver.{ BasicResolver, DependencyResolver }
|
|||
import sbt.io.{ IO, PathFinder }
|
||||
import sbt.util.{ Logger, ShowLines }
|
||||
import sbt.internal.util.{ SourcePosition, LinePosition, RangePosition, LineRange }
|
||||
import sbt.librarymanagement._
|
||||
import sbt.internal.librarymanagement.syntax._
|
||||
import sbt.librarymanagement._, syntax._
|
||||
|
||||
final class DeliverConfiguration(val deliverIvyPattern: String, val status: String, val configurations: Option[Vector[Configuration]], val logging: UpdateLogging)
|
||||
final class PublishConfiguration(val ivyFile: Option[File], val resolverName: String, val artifacts: Map[Artifact, File], val checksums: Vector[String], val logging: UpdateLogging,
|
||||
|
|
|
|||
|
|
@ -13,8 +13,7 @@ import report.{ ArtifactDownloadReport, ConfigurationResolveReport, ResolveRepor
|
|||
import resolve.{ IvyNode, IvyNodeCallers }
|
||||
import IvyNodeCallers.{ Caller => IvyCaller }
|
||||
import ivyint.SbtDefaultDependencyDescriptor
|
||||
import sbt.librarymanagement._
|
||||
import sbt.internal.librarymanagement.syntax._
|
||||
import sbt.librarymanagement._, syntax._
|
||||
|
||||
object IvyRetrieve {
|
||||
def reports(report: ResolveReport): Vector[ConfigurationResolveReport] =
|
||||
|
|
|
|||
|
|
@ -22,8 +22,7 @@ import annotation.tailrec
|
|||
import scala.concurrent.duration._
|
||||
import sbt.io.{ DirectoryFilter, Hash, IO }
|
||||
import sbt.util.Logger
|
||||
import sbt.librarymanagement._
|
||||
import sbt.internal.librarymanagement.syntax._
|
||||
import sbt.librarymanagement._, syntax._
|
||||
import sbt.internal.util.CacheStore
|
||||
|
||||
private[sbt] object CachedResolutionResolveCache {
|
||||
|
|
|
|||
|
|
@ -1,10 +0,0 @@
|
|||
package sbt
|
||||
package internal
|
||||
package librarymanagement
|
||||
|
||||
import sbt.librarymanagement._
|
||||
|
||||
object syntax {
|
||||
implicit def richUpateReport(ur: UpdateReport): RichUpdateReport =
|
||||
new RichUpdateReport(ur)
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
package sbt.librarymanagement
|
||||
|
||||
trait LibraryManagementSyntax {
|
||||
implicit def richUpdateReport(ur: UpdateReport): RichUpdateReport = new RichUpdateReport(ur)
|
||||
}
|
||||
|
||||
object syntax extends LibraryManagementSyntax
|
||||
Loading…
Reference in New Issue