mirror of https://github.com/sbt/sbt.git
bump to up Util 0.1.0-M3
This commit is contained in:
parent
a30bcdbb37
commit
c65c5016b0
|
|
@ -5,7 +5,7 @@ package sbt
|
|||
|
||||
import java.io.{ File, FileOutputStream }
|
||||
import java.util.concurrent.Callable
|
||||
import sbt.internal.util.Logger
|
||||
import sbt.util.Logger
|
||||
|
||||
/**
|
||||
* A component manager provides access to the pieces of xsbt that are distributed as components.
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
package sbt
|
||||
|
||||
import DependencyFilter._
|
||||
import sbt.internal.util.{ Logger, Level }
|
||||
import sbt.util.{ Logger, Level }
|
||||
|
||||
/**
|
||||
* Provide warnings for cross version conflicts.
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ import java.io.{ IOException, File }
|
|||
import org.apache.ivy.util.{ FileUtil, ChecksumHelper }
|
||||
import org.apache.ivy.core.module.descriptor.{ Artifact => IArtifact }
|
||||
import sbt.io.IO
|
||||
import sbt.internal.util.Logger
|
||||
import sbt.util.Logger
|
||||
|
||||
private[sbt] object ConvertResolver {
|
||||
import UpdateOptions.ResolverConverter
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ package sbt
|
|||
import java.io.File
|
||||
import org.apache.ivy.util.url.CredentialsStore
|
||||
import sbt.io.IO
|
||||
import sbt.internal.util.Logger
|
||||
import sbt.util.Logger
|
||||
|
||||
object Credentials {
|
||||
def apply(realm: String, host: String, userName: String, passwd: String): Credentials =
|
||||
|
|
|
|||
|
|
@ -3,7 +3,8 @@ package sbt
|
|||
import collection.mutable
|
||||
import Configurations.Compile
|
||||
import ScalaArtifacts.{ LibraryID, CompilerID }
|
||||
import sbt.internal.util.{ Logger, ShowLines }
|
||||
import sbt.util.Logger
|
||||
import sbt.internal.util.ShowLines
|
||||
|
||||
final class EvictionWarningOptions private[sbt] (
|
||||
val configurations: Seq[Configuration],
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ import org.apache.ivy.util.extendable.ExtendableItem
|
|||
import scala.xml.{ NodeSeq, Text }
|
||||
import scala.collection.mutable
|
||||
|
||||
import sbt.internal.util.Logger
|
||||
import sbt.util.Logger
|
||||
|
||||
final class IvySbt(val configuration: IvyConfiguration) {
|
||||
import configuration.baseDirectory
|
||||
|
|
|
|||
|
|
@ -17,7 +17,8 @@ import org.apache.ivy.core.report.ResolveReport
|
|||
import org.apache.ivy.core.resolve.ResolveOptions
|
||||
import org.apache.ivy.plugins.resolver.{ BasicResolver, DependencyResolver }
|
||||
import sbt.io.{ IO, PathFinder }
|
||||
import sbt.internal.util.{ Logger, ShowLines, SourcePosition, LinePosition, RangePosition, LineRange }
|
||||
import sbt.util.Logger
|
||||
import sbt.internal.util.{ ShowLines, SourcePosition, LinePosition, RangePosition, LineRange }
|
||||
|
||||
final class DeliverConfiguration(val deliverIvyPattern: String, val status: String, val configurations: Option[Seq[Configuration]], val logging: UpdateLogging.Value)
|
||||
final class PublishConfiguration(val ivyFile: Option[File], val resolverName: String, val artifacts: Map[Artifact, File], val checksums: Seq[String], val logging: UpdateLogging.Value,
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import org.apache.ivy.plugins.repository.{ ArtifactResourceResolver, Resource, R
|
|||
import org.apache.ivy.plugins.resolver.util.ResolvedResource
|
||||
import org.apache.ivy.util.FileUtil
|
||||
import sbt.io.Path
|
||||
import sbt.internal.util.Logger
|
||||
import sbt.util.Logger
|
||||
|
||||
class NotInCache(val id: ModuleID, cause: Throwable)
|
||||
extends RuntimeException(NotInCache(id, cause), cause) {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ package sbt
|
|||
import java.io.File
|
||||
import java.net.{ URI, URL }
|
||||
import scala.xml.NodeSeq
|
||||
import sbt.internal.util.Logger
|
||||
import sbt.util.Logger
|
||||
|
||||
final class IvyPaths(val baseDirectory: File, val ivyHome: Option[File]) {
|
||||
def withBase(newBaseDirectory: File) = new IvyPaths(newBaseDirectory, ivyHome)
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
package sbt
|
||||
|
||||
import org.apache.ivy.util.{ Message, MessageLogger, MessageLoggerEngine }
|
||||
import sbt.internal.util.Logger
|
||||
import sbt.util.Logger
|
||||
|
||||
/** Interface to Ivy logging. */
|
||||
private final class IvyLoggerInterface(logger: Logger) extends MessageLogger {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import org.apache.ivy.core.module.descriptor.{ DependencyDescriptor, DefaultModu
|
|||
import org.apache.ivy.core.module.id.{ ArtifactId, ModuleId, ModuleRevisionId }
|
||||
import org.apache.ivy.plugins.matcher.ExactPatternMatcher
|
||||
|
||||
import sbt.internal.util.Logger
|
||||
import sbt.util.Logger
|
||||
|
||||
object ScalaArtifacts {
|
||||
val Organization = "org.scala-lang"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import org.apache.ivy.core
|
|||
import core.module.descriptor.ModuleDescriptor
|
||||
import sbt.serialization._
|
||||
import java.net.{ URLEncoder, URLDecoder }
|
||||
import sbt.internal.util.Logger
|
||||
import sbt.util.Logger
|
||||
|
||||
private[sbt] object JsonUtil {
|
||||
def sbtOrgTemp = "org.scala-sbt.temp"
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
package sbt
|
||||
|
||||
import java.io.File
|
||||
import sbt.internal.util.Logger
|
||||
import sbt.util.Logger
|
||||
|
||||
import sbt.mavenint.PomExtraDependencyAttributes
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ package sbt
|
|||
import java.io.File
|
||||
import org.apache.ivy.plugins.resolver.DependencyResolver
|
||||
import org.apache.ivy.core.settings.IvySettings
|
||||
import sbt.internal.util.Logger
|
||||
import sbt.util.Logger
|
||||
|
||||
/**
|
||||
* Represents configurable options for update task.
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ import Configurations.{ System => _, _ }
|
|||
import annotation.tailrec
|
||||
import scala.concurrent.duration._
|
||||
import sbt.io.{ DirectoryFilter, Hash, IO, Path }
|
||||
import sbt.internal.util.Logger
|
||||
import sbt.util.Logger
|
||||
|
||||
private[sbt] object CachedResolutionResolveCache {
|
||||
def createID(organization: String, name: String, revision: String) =
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ import org.apache.ivy.plugins.repository.url.URLResource
|
|||
import org.apache.ivy.plugins.resolver._
|
||||
import org.apache.ivy.plugins.resolver.util.{ HasLatestStrategy, ResolvedResource }
|
||||
import org.apache.ivy.util.{ Message, StringUtils => IvyStringUtils }
|
||||
import sbt.internal.util.Logger
|
||||
import sbt.util.Logger
|
||||
|
||||
private[sbt] case class SbtChainResolver(
|
||||
name: String,
|
||||
|
|
|
|||
|
|
@ -5,7 +5,8 @@ import sbt.io.IO
|
|||
import java.io.File
|
||||
import cross.CrossVersionUtil
|
||||
import sbt.ivyint.SbtChainResolver
|
||||
import sbt.internal.util.{ Logger, ConsoleLogger }
|
||||
import sbt.util.Logger
|
||||
import sbt.internal.util.ConsoleLogger
|
||||
import sbt.internal.util.UnitSpec
|
||||
|
||||
trait BaseIvySpecification extends UnitSpec {
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import sbt.io.IO
|
|||
import org.apache.ivy.util.ChecksumHelper
|
||||
import IfMissing.Fail
|
||||
import xsbti.ComponentProvider
|
||||
import sbt.internal.util.Logger
|
||||
import sbt.util.Logger
|
||||
import sbt.internal.util.{ UnitSpec, TestLogger }
|
||||
|
||||
// TODO - We need to re-enable this test. Right now, we dont' have a "stub" launcher for this.
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@ import org.apache.ivy.core.module.id.ModuleRevisionId
|
|||
import org.apache.ivy.core.resolve.ResolveOptions
|
||||
import sbt._
|
||||
import sbt.io.IO.withTemporaryDirectory
|
||||
import sbt.internal.util.{ Logger, ConsoleLogger }
|
||||
import sbt.util.Logger
|
||||
import sbt.internal.util.ConsoleLogger
|
||||
import sbt.internal.util.UnitSpec
|
||||
|
||||
class CustomPomParserTest extends UnitSpec {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
package sbt
|
||||
|
||||
import java.io.File
|
||||
import sbt.internal.util.{ Logger, ConsoleLogger }
|
||||
import sbt.util.Logger
|
||||
import sbt.internal.util.ConsoleLogger
|
||||
import sbt.internal.util.UnitSpec
|
||||
|
||||
// http://ant.apache.org/ivy/history/2.3.0/ivyfile/dependency.html
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ object Dependencies {
|
|||
lazy val scala210 = "2.10.5"
|
||||
lazy val scala211 = "2.11.7"
|
||||
|
||||
val utilVersion = "0.1.0-M2"
|
||||
val utilVersion = "0.1.0-M3"
|
||||
val ioVersion = "1.0.0-M3"
|
||||
lazy val sbtIO = "org.scala-sbt" %% "io" % ioVersion
|
||||
lazy val utilCollection = "org.scala-sbt" %% "util-collection" % utilVersion
|
||||
|
|
|
|||
Loading…
Reference in New Issue