#19440 Added scala-java8-compat as a dependency to streams
This commit is contained in:
parent
e92429dab9
commit
b217e2e480
3 changed files with 8 additions and 4 deletions
|
|
@ -239,7 +239,7 @@ object Source {
|
||||||
*/
|
*/
|
||||||
def repeat[T](element: T): Source[T, Unit] = {
|
def repeat[T](element: T): Source[T, Unit] = {
|
||||||
val next = Some((element, element))
|
val next = Some((element, element))
|
||||||
unfold(element)(_ => next).withAttributes(DefaultAttributes.repeat)
|
unfold(element)(_ ⇒ next).withAttributes(DefaultAttributes.repeat)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -56,6 +56,9 @@ object Dependencies {
|
||||||
// For akka-http-testkit-java
|
// For akka-http-testkit-java
|
||||||
val junit = "junit" % "junit" % "4.11" // Common Public License 1.0
|
val junit = "junit" % "junit" % "4.11" // Common Public License 1.0
|
||||||
|
|
||||||
|
// For Java 8 Conversions
|
||||||
|
val java8Compat = "org.scala-lang.modules" %% "scala-java8-compat" % "0.7.0" // Scala License
|
||||||
|
|
||||||
object Docs {
|
object Docs {
|
||||||
val sprayJson = "io.spray" %% "spray-json" % "1.3.2" % "test"
|
val sprayJson = "io.spray" %% "spray-json" % "1.3.2" % "test"
|
||||||
val gson = "com.google.code.gson" % "gson" % "2.3.1" % "test"
|
val gson = "com.google.code.gson" % "gson" % "2.3.1" % "test"
|
||||||
|
|
@ -182,6 +185,7 @@ object Dependencies {
|
||||||
lazy val stream = l ++= Seq[sbt.ModuleID](
|
lazy val stream = l ++= Seq[sbt.ModuleID](
|
||||||
sslConfigAkka,
|
sslConfigAkka,
|
||||||
reactiveStreams,
|
reactiveStreams,
|
||||||
|
java8Compat,
|
||||||
Test.junitIntf,
|
Test.junitIntf,
|
||||||
Test.scalatest.value)
|
Test.scalatest.value)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue