Skip to content

Commit

Permalink
Fix compiler error with refined 0.7
Browse files Browse the repository at this point in the history
The error was "Class scala.tools.nsc.Global not found - continuing with
a stub.", and the fix is to add a provided dep on the scala compiler.

See fthomas/refined#256 for details.
  • Loading branch information
swsnr committed Mar 1, 2017
1 parent a873d38 commit 0221272
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ lazy val root = (project in file("."))
// Dependencies
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play-json" % "2.5.0",
// Fix "Class scala.tools.nsc.Global not found - continuing with a stub."
// build failure by adding a provided dep on the scala-compiler, see
// https://github.com/fthomas/refined/issues/256
"org.scala-lang" % "scala-compiler" % scalaVersion.value % Provided,

This comment has been minimized.

Copy link
@fthomas

fthomas Mar 1, 2017

Collaborator

Sorry for the inconvenience! I should have updated the release notes accordingly...

This comment has been minimized.

Copy link
@swsnr

swsnr Mar 1, 2017

Author Contributor

@fthomas Never mind :) It's fine, was easy enough to find the ticket and add the fix <3

"eu.timepit" %% "refined" % "0.7.0",
"org.scalacheck" %% "scalacheck" % "1.13.4" % "test"
),
Expand Down

0 comments on commit 0221272

Please sign in to comment.