mirror of https://github.com/sbt/sbt.git
Move TermDisplay to cache module, remove dependency of plugin towards cli
This commit is contained in:
parent
aa2a909fbd
commit
ebd97b8340
|
|
@ -138,7 +138,8 @@ lazy val cache = project
|
|||
.settings(
|
||||
name := "coursier-cache",
|
||||
libraryDependencies ++= Seq(
|
||||
"org.scalaz" %% "scalaz-concurrent" % "7.1.2"
|
||||
"org.scalaz" %% "scalaz-concurrent" % "7.1.2",
|
||||
"com.lihaoyi" %% "ammonite-terminal" % "0.5.0"
|
||||
)
|
||||
)
|
||||
|
||||
|
|
@ -168,7 +169,6 @@ lazy val cli = project
|
|||
name := "coursier-cli",
|
||||
libraryDependencies ++= Seq(
|
||||
"com.github.alexarchambault" %% "case-app" % "1.0.0-SNAPSHOT",
|
||||
"com.lihaoyi" %% "ammonite-terminal" % "0.5.0",
|
||||
"ch.qos.logback" % "logback-classic" % "1.1.3"
|
||||
)
|
||||
)
|
||||
|
|
@ -216,7 +216,7 @@ lazy val doc = project
|
|||
|
||||
// Don't try to compile that if you're not in 2.10
|
||||
lazy val plugin = project
|
||||
.dependsOn(coreJvm, cache, cli)
|
||||
.dependsOn(coreJvm, cache)
|
||||
.settings(baseCommonSettings)
|
||||
.settings(
|
||||
name := "coursier-sbt-plugin",
|
||||
|
|
|
|||
|
|
@ -1,12 +1,10 @@
|
|||
package coursier.cli
|
||||
package coursier
|
||||
|
||||
import java.io.{File, Writer}
|
||||
import java.util.concurrent._
|
||||
|
||||
import ammonite.terminal.{ TTY, Ansi }
|
||||
|
||||
import coursier.Cache
|
||||
|
||||
import scala.annotation.tailrec
|
||||
import scala.collection.mutable.ArrayBuffer
|
||||
|
||||
|
|
@ -3,7 +3,6 @@ package coursier
|
|||
import java.io.{ OutputStreamWriter, File }
|
||||
import java.util.concurrent.Executors
|
||||
|
||||
import coursier.cli.TermDisplay
|
||||
import coursier.ivy.IvyRepository
|
||||
import coursier.Keys._
|
||||
import coursier.Structure._
|
||||
|
|
|
|||
Loading…
Reference in New Issue