Skip to content

Commit

Permalink
Switch to ammonite 1.6.6 (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarchambault committed Apr 11, 2019
1 parent 902ea1d commit a4cffe0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package object almondrx {

implicit val ownerCtx0 = ownerCtx

// only really needed when the code wrapper passed to ScalaInterpreter is Preprocessor.CodeClassWrapper
// only really needed when the code wrapper passed to ScalaInterpreter is CodeClassWrapper
replApi.load("import _root_.rx.Ctx.Owner.Unsafe.Unsafe")

replApi.pprinter() = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import almond.interpreter.input.InputManager
import almond.interpreter.util.CancellableFuture
import almond.logger.LoggerContext
import almond.protocol.KernelInfo
import ammonite.interp.{Parsers, Preprocessor}
import ammonite.interp.{CodeClassWrapper, CodeWrapper, Parsers, Preprocessor}
import ammonite.ops.read
import ammonite.repl._
import ammonite.runtime._
Expand Down Expand Up @@ -40,7 +40,7 @@ final class ScalaInterpreter(
automaticDependencies: Map[String, Seq[String]] = Map(),
forceMavenProperties: Map[String, String] = Map(),
mavenProfiles: Map[String, Boolean] = Map(),
codeWrapper: Preprocessor.CodeWrapper = Preprocessor.CodeClassWrapper,
codeWrapper: CodeWrapper = CodeClassWrapper,
initialColors: Colors = Colors.Default,
initialClassLoader: ClassLoader = Thread.currentThread().getContextClassLoader,
val logCtx: LoggerContext = LoggerContext.nop,
Expand Down
4 changes: 2 additions & 2 deletions project/Deps.scala
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import sbt.Keys.{scalaBinaryVersion, scalaVersion}
object Deps {

object Versions {
def ammonite = "1.6.5-7-189109d"
def ammonite = "1.6.6"
}

def ammoniteRepl = ("com.lihaoyi" % "ammonite-repl" % Versions.ammonite).cross(CrossVersion.full)
def ammoniteSpark = "sh.almond" %% "ammonite-spark" % "0.4.0"
def ammoniteSpark = "sh.almond" %% "ammonite-spark" % "0.4.1"
def argonautShapeless = "com.github.alexarchambault" %% "argonaut-shapeless_6.2" % "1.2.0-M10"
def caseAppAnnotations = "com.github.alexarchambault" %% "case-app-annotations" % "2.0.0-M6"
def caseApp = "com.github.alexarchambault" %% "case-app" % "2.0.0-M6"
Expand Down

0 comments on commit a4cffe0

Please sign in to comment.