Skip to content

Commit

Permalink
Merge pull request #40 from larsrh/topic/deps
Browse files Browse the repository at this point in the history
Dependency updates
  • Loading branch information
alexarchambault authored Sep 27, 2016
2 parents 9c237c3 + a4aad76 commit 69838f9
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 17 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
language: scala
scala:
- 2.12.0-M5
- 2.11.8
- 2.10.6
jdk:
Expand Down
17 changes: 6 additions & 11 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@ lazy val util = crossProject
.settings(
name := "case-app-util",
libraryDependencies ++= Seq(
"com.chuusai" %%% "shapeless" % "2.3.1",
"org.scala-lang" % "scala-reflect" % scalaVersion.value % "provided",
"org.scala-lang" % "scala-compiler" % scalaVersion.value % "provided",
"com.chuusai" %%% "shapeless" % "2.3.2",
"org.typelevel" %% "macro-compat" % "1.1.1",
compilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full)
"org.scala-lang" % "scala-reflect" % scalaVersion.value % "provided",
"org.scala-lang" % "scala-compiler" % scalaVersion.value % "provided"
)
)

Expand All @@ -39,7 +38,7 @@ lazy val core = crossProject
.settings(
name := "case-app",
libraryDependencies ++= Seq(
"org.scalatest" %%% "scalatest" % "3.0.0-M11" % "test"
"org.scalatest" %%% "scalatest" % "3.0.0" % "test"
)
)

Expand All @@ -60,6 +59,7 @@ lazy val doc = project
lazy val commonSettings = Seq(
organization := "com.github.alexarchambault",
scalaVersion := "2.11.8",
crossScalaVersions := Seq("2.10.6", "2.11.8", "2.12.0-M5"),
resolvers ++= Seq(
Resolver.sonatypeRepo("releases")
),
Expand All @@ -68,12 +68,7 @@ lazy val commonSettings = Seq(
"-deprecation",
"-target:jvm-1.6"
),
libraryDependencies ++= {
if (scalaVersion.value startsWith "2.10.")
Seq(compilerPlugin("org.scalamacros" % "paradise" % "2.0.1" cross CrossVersion.full))
else
Seq()
}
libraryDependencies += compilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full)
) ++ fullReleaseSettings

lazy val fullReleaseSettings = Seq(
Expand Down
4 changes: 2 additions & 2 deletions core/shared/src/test/scala/caseapp/HelpTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class HelpTests extends FlatSpec with Matchers {
| --foo <value>
| --bar <value>""".stripMargin

def lines(s: String) = s.linesIterator.toVector
def lines(s: String) = s.lines.toVector

println((lines(message) zip lines(expectedMessage)).filter {
case (a, b) =>
Expand All @@ -35,7 +35,7 @@ class HelpTests extends FlatSpec with Matchers {
second: String
)

val helpLines = Messages[Options].helpMessage.linesIterator.toVector
val helpLines = Messages[Options].helpMessage.lines.toVector

helpLines.count(_.contains("--first")) shouldBe 1
helpLines.count(_.contains("--second")) shouldBe 0
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=0.13.8
sbt.version=0.13.11
6 changes: 3 additions & 3 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ resolvers += Resolver.url(
)

addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0")
addSbtPlugin("org.tpolecat" % "tut-plugin" % "0.4.0")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.9")
addSbtPlugin("org.tpolecat" % "tut-plugin" % "0.4.4")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.12")

addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-M11")
addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-M14-3")

0 comments on commit 69838f9

Please sign in to comment.