mirror of https://github.com/sbt/sbt.git
changes due to bumping up librarymangement to 0.1.0-M4
This commit is contained in:
parent
5b9d90e089
commit
f14692f0b1
|
|
@ -72,8 +72,8 @@ object CacheIvy {
|
||||||
}
|
}
|
||||||
implicit def updateStatsFormat: Format[UpdateStats] =
|
implicit def updateStatsFormat: Format[UpdateStats] =
|
||||||
wrap[UpdateStats, (Long, Long, Long)](us => (us.resolveTime, us.downloadTime, us.downloadSize), { case (rt, dt, ds) => new UpdateStats(rt, dt, ds, true) })
|
wrap[UpdateStats, (Long, Long, Long)](us => (us.resolveTime, us.downloadTime, us.downloadSize), { case (rt, dt, ds) => new UpdateStats(rt, dt, ds, true) })
|
||||||
implicit def confReportFormat(implicit m: Format[String], mr: Format[Seq[ModuleReport]], oar: Format[Seq[OrganizationArtifactReport]], mi: Format[Seq[ModuleID]]): Format[ConfigurationReport] =
|
implicit def confReportFormat(implicit m: Format[String], mr: Format[Seq[ModuleReport]], oar: Format[Seq[OrganizationArtifactReport]]): Format[ConfigurationReport] =
|
||||||
wrap[ConfigurationReport, (String, Seq[ModuleReport], Seq[OrganizationArtifactReport], Seq[ModuleID])](r => (r.configuration, r.modules, r.details, r.evicted), { case (c, m, d, v) => new ConfigurationReport(c, m, d, v) })
|
wrap[ConfigurationReport, (String, Seq[ModuleReport], Seq[OrganizationArtifactReport])](r => (r.configuration, r.modules, r.details), { case (c, m, d) => new ConfigurationReport(c, m, d) })
|
||||||
implicit def moduleReportFormat(implicit cf: Format[Seq[Caller]], ff: Format[File]): Format[ModuleReport] = {
|
implicit def moduleReportFormat(implicit cf: Format[Seq[Caller]], ff: Format[File]): Format[ModuleReport] = {
|
||||||
wrap[ModuleReport, (ModuleID, Seq[(Artifact, File)], Seq[Artifact], Option[String], Option[Long], Option[String], Option[String], Boolean, Option[String], Option[String], Option[String], Option[String], Map[String, String], Option[Boolean], Option[String], Seq[String], Seq[(String, Option[String])], Seq[Caller])](
|
wrap[ModuleReport, (ModuleID, Seq[(Artifact, File)], Seq[Artifact], Option[String], Option[Long], Option[String], Option[String], Boolean, Option[String], Option[String], Option[String], Option[String], Map[String, String], Option[Boolean], Option[String], Seq[String], Seq[(String, Option[String])], Seq[Caller])](
|
||||||
m => (m.module, m.artifacts, m.missingArtifacts, m.status, m.publicationDate map { _.getTime }, m.resolver, m.artifactResolver, m.evicted, m.evictedData, m.evictedReason, m.problem, m.homepage, m.extraAttributes, m.isDefault, m.branch, m.configurations, m.licenses, m.callers),
|
m => (m.module, m.artifacts, m.missingArtifacts, m.status, m.publicationDate map { _.getTime }, m.resolver, m.artifactResolver, m.evicted, m.evictedData, m.evictedReason, m.problem, m.homepage, m.extraAttributes, m.isDefault, m.branch, m.configurations, m.licenses, m.callers),
|
||||||
|
|
@ -142,7 +142,7 @@ object CacheIvy {
|
||||||
|
|
||||||
implicit def inlineIvyIC: InputCache[InlineIvyConfiguration] = wrapIn
|
implicit def inlineIvyIC: InputCache[InlineIvyConfiguration] = wrapIn
|
||||||
implicit def moduleSettingsIC: InputCache[ModuleSettings] =
|
implicit def moduleSettingsIC: InputCache[ModuleSettings] =
|
||||||
unionInputCache[ModuleSettings, PomConfiguration :+: InlineConfiguration :+: InlineConfigurationWithExcludes :+: EmptyConfiguration :+: IvyFileConfiguration :+: HNil]
|
unionInputCache[ModuleSettings, PomConfiguration :+: InlineConfiguration :+: InlineConfigurationWithExcludes :+: IvyFileConfiguration :+: HNil]
|
||||||
|
|
||||||
implicit def ivyConfigurationIC: InputCache[IvyConfiguration] =
|
implicit def ivyConfigurationIC: InputCache[IvyConfiguration] =
|
||||||
unionInputCache[IvyConfiguration, InlineIvyConfiguration :+: ExternalIvyConfiguration :+: HNil]
|
unionInputCache[IvyConfiguration, InlineIvyConfiguration :+: ExternalIvyConfiguration :+: HNil]
|
||||||
|
|
@ -152,13 +152,11 @@ object CacheIvy {
|
||||||
c.module :+: c.dependencies :+: c.ivyXML :+: c.configurations :+: c.defaultConfiguration.map(_.name) :+:
|
c.module :+: c.dependencies :+: c.ivyXML :+: c.configurations :+: c.defaultConfiguration.map(_.name) :+:
|
||||||
c.ivyScala :+: c.validate :+: c.overrides :+: c.excludes :+: HNil
|
c.ivyScala :+: c.validate :+: c.overrides :+: c.excludes :+: HNil
|
||||||
implicit def moduleConfToHL = (m: ModuleConfiguration) => m.organization :+: m.name :+: m.revision :+: m.resolver :+: HNil
|
implicit def moduleConfToHL = (m: ModuleConfiguration) => m.organization :+: m.name :+: m.revision :+: m.resolver :+: HNil
|
||||||
implicit def emptyToHL = (e: EmptyConfiguration) => e.module :+: e.ivyScala :+: e.validate :+: HNil
|
|
||||||
implicit def inlineToHL = (c: InlineConfiguration) => c.module :+: c.dependencies :+: c.ivyXML :+: c.configurations :+: c.defaultConfiguration.map(_.name) :+: c.ivyScala :+: c.validate :+: c.overrides :+: HNil
|
implicit def inlineToHL = (c: InlineConfiguration) => c.module :+: c.dependencies :+: c.ivyXML :+: c.configurations :+: c.defaultConfiguration.map(_.name) :+: c.ivyScala :+: c.validate :+: c.overrides :+: HNil
|
||||||
}
|
}
|
||||||
import L4._
|
import L4._
|
||||||
|
|
||||||
implicit def inlineWithExcludesIC: InputCache[InlineConfigurationWithExcludes] = wrapIn
|
implicit def inlineWithExcludesIC: InputCache[InlineConfigurationWithExcludes] = wrapIn
|
||||||
implicit def emptyIC: InputCache[EmptyConfiguration] = wrapIn
|
|
||||||
implicit def inlineIC: InputCache[InlineConfiguration] = wrapIn
|
implicit def inlineIC: InputCache[InlineConfiguration] = wrapIn
|
||||||
implicit def moduleConfIC: InputCache[ModuleConfiguration] = wrapIn
|
implicit def moduleConfIC: InputCache[ModuleConfiguration] = wrapIn
|
||||||
|
|
||||||
|
|
@ -177,7 +175,7 @@ object CacheIvy {
|
||||||
|
|
||||||
implicit lazy val chainedIC: InputCache[ChainedResolver] = InputCache.lzy(wrapIn)
|
implicit lazy val chainedIC: InputCache[ChainedResolver] = InputCache.lzy(wrapIn)
|
||||||
implicit lazy val resolverIC: InputCache[Resolver] =
|
implicit lazy val resolverIC: InputCache[Resolver] =
|
||||||
unionInputCache[Resolver, ChainedResolver :+: JavaNet1Repository :+: MavenRepository :+: MavenCache :+: FileRepository :+: URLRepository :+: SshRepository :+: SftpRepository :+: RawRepository :+: HNil]
|
unionInputCache[Resolver, ChainedResolver :+: MavenRepository :+: MavenCache :+: FileRepository :+: URLRepository :+: SshRepository :+: SftpRepository :+: RawRepository :+: HNil]
|
||||||
implicit def moduleIC: InputCache[ModuleID] = wrapIn
|
implicit def moduleIC: InputCache[ModuleID] = wrapIn
|
||||||
implicitly[InputCache[Seq[Configuration]]]
|
implicitly[InputCache[Seq[Configuration]]]
|
||||||
|
|
||||||
|
|
@ -235,6 +233,4 @@ object CacheIvy {
|
||||||
|
|
||||||
implicit def authIC: InputCache[SshAuthentication] =
|
implicit def authIC: InputCache[SshAuthentication] =
|
||||||
unionInputCache[SshAuthentication, PasswordAuthentication :+: KeyFileAuthentication :+: HNil]
|
unionInputCache[SshAuthentication, PasswordAuthentication :+: KeyFileAuthentication :+: HNil]
|
||||||
|
|
||||||
implicit def javaNet1IC: InputCache[JavaNet1Repository] = singleton(JavaNet1Repository)
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ object Dependencies {
|
||||||
val utilVersion = "0.1.0-M5"
|
val utilVersion = "0.1.0-M5"
|
||||||
val ioVersion = "1.0.0-M3"
|
val ioVersion = "1.0.0-M3"
|
||||||
val incremenalcompilerVersion = "0.1.0-M1-168cb7a4877917e01917e35b9b82a62afe5c2a01"
|
val incremenalcompilerVersion = "0.1.0-M1-168cb7a4877917e01917e35b9b82a62afe5c2a01"
|
||||||
val librarymanagementVersion = "0.1.0-M3"
|
val librarymanagementVersion = "0.1.0-M4"
|
||||||
lazy val sbtIO = "org.scala-sbt" %% "io" % ioVersion
|
lazy val sbtIO = "org.scala-sbt" %% "io" % ioVersion
|
||||||
lazy val utilCollection = "org.scala-sbt" %% "util-collection" % utilVersion
|
lazy val utilCollection = "org.scala-sbt" %% "util-collection" % utilVersion
|
||||||
lazy val utilLogging = "org.scala-sbt" %% "util-logging" % utilVersion
|
lazy val utilLogging = "org.scala-sbt" %% "util-logging" % utilVersion
|
||||||
|
|
|
||||||
|
|
@ -290,8 +290,6 @@ object Import {
|
||||||
val IvyScala = sbt.librarymanagement.IvyScala
|
val IvyScala = sbt.librarymanagement.IvyScala
|
||||||
type IvyScala = sbt.librarymanagement.IvyScala
|
type IvyScala = sbt.librarymanagement.IvyScala
|
||||||
val JCenterRepository = sbt.librarymanagement.JCenterRepository
|
val JCenterRepository = sbt.librarymanagement.JCenterRepository
|
||||||
val JavaNet1Repository = sbt.librarymanagement.JavaNet1Repository
|
|
||||||
type JavaNet1Repository = sbt.librarymanagement.JavaNet1Repository
|
|
||||||
val JavaNet2Repository = sbt.librarymanagement.JavaNet2Repository
|
val JavaNet2Repository = sbt.librarymanagement.JavaNet2Repository
|
||||||
val MavenCache = sbt.librarymanagement.MavenCache
|
val MavenCache = sbt.librarymanagement.MavenCache
|
||||||
type MavenCache = sbt.librarymanagement.MavenCache
|
type MavenCache = sbt.librarymanagement.MavenCache
|
||||||
|
|
@ -352,8 +350,6 @@ object Import {
|
||||||
val DependencyFilter = sbt.internal.librarymanagement.DependencyFilter
|
val DependencyFilter = sbt.internal.librarymanagement.DependencyFilter
|
||||||
type DependencyFilter = sbt.internal.librarymanagement.DependencyFilter
|
type DependencyFilter = sbt.internal.librarymanagement.DependencyFilter
|
||||||
type DependencyFilterExtra = sbt.internal.librarymanagement.DependencyFilterExtra
|
type DependencyFilterExtra = sbt.internal.librarymanagement.DependencyFilterExtra
|
||||||
val EmptyConfiguration = sbt.internal.librarymanagement.EmptyConfiguration
|
|
||||||
type EmptyConfiguration = sbt.internal.librarymanagement.EmptyConfiguration
|
|
||||||
val ExternalIvyConfiguration = sbt.internal.librarymanagement.ExternalIvyConfiguration
|
val ExternalIvyConfiguration = sbt.internal.librarymanagement.ExternalIvyConfiguration
|
||||||
type ExternalIvyConfiguration = sbt.internal.librarymanagement.ExternalIvyConfiguration
|
type ExternalIvyConfiguration = sbt.internal.librarymanagement.ExternalIvyConfiguration
|
||||||
val GetClassifiersConfiguration = sbt.internal.librarymanagement.GetClassifiersConfiguration
|
val GetClassifiersConfiguration = sbt.internal.librarymanagement.GetClassifiersConfiguration
|
||||||
|
|
@ -387,8 +383,6 @@ object Import {
|
||||||
val MakePomConfiguration = sbt.internal.librarymanagement.MakePomConfiguration
|
val MakePomConfiguration = sbt.internal.librarymanagement.MakePomConfiguration
|
||||||
type MakePomConfiguration = sbt.internal.librarymanagement.MakePomConfiguration
|
type MakePomConfiguration = sbt.internal.librarymanagement.MakePomConfiguration
|
||||||
type ModuleFilter = sbt.internal.librarymanagement.ModuleFilter
|
type ModuleFilter = sbt.internal.librarymanagement.ModuleFilter
|
||||||
val ModuleSettings = sbt.internal.librarymanagement.ModuleSettings
|
|
||||||
type ModuleSettings = sbt.internal.librarymanagement.ModuleSettings
|
|
||||||
type NotInCache = sbt.internal.librarymanagement.NotInCache
|
type NotInCache = sbt.internal.librarymanagement.NotInCache
|
||||||
val PomConfiguration = sbt.internal.librarymanagement.PomConfiguration
|
val PomConfiguration = sbt.internal.librarymanagement.PomConfiguration
|
||||||
type PomConfiguration = sbt.internal.librarymanagement.PomConfiguration
|
type PomConfiguration = sbt.internal.librarymanagement.PomConfiguration
|
||||||
|
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
ivyPaths <<= baseDirectory( dir => new IvyPaths(dir, Some(dir / "ivy-home")))
|
|
||||||
|
|
||||||
resolvers += JavaNet1Repository
|
|
||||||
|
|
||||||
libraryDependencies += "javax.ejb" % "ejb-api" % "3.0"
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
> update
|
|
||||||
Loading…
Reference in New Issue