File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed
compiler/src/main/scala/org/scalaexercises/exercises/compiler Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ addCommandAlias("ci-publish", ";github; ci-release")
1414lazy val V = new {
1515 val cats : String = " 2.7.0"
1616 val collectioncompat : String = " 2.6.0"
17- val github4s : String = " 0.28.5 "
18- val http4s : String = " 0.21.31 "
19- val runtime : String = " 0.6.4 "
17+ val github4s : String = " 0.30.0 "
18+ val http4s : String = " 0.23.8 "
19+ val runtime : String = " 0.7.0 "
2020 val scala : String = " 2.13.8"
2121 val scala212 : String = " 2.12.15"
2222 val scalacheck : String = " 1.15.4"
Original file line number Diff line number Diff line change @@ -24,11 +24,10 @@ import cats.implicits._
2424import github4s .Github
2525import Comments .Mode
2626import CommentRendering .RenderedComment
27- import cats .effect .{ContextShift , IO }
27+ import cats .effect .IO
28+ import cats .effect .unsafe .IORuntime
2829import github4s .domain .Commit
29- import org .http4s .client .blaze .BlazeClientBuilder
30-
31- import scala .concurrent .ExecutionContext
30+ import org .http4s .blaze .client .BlazeClientBuilder
3231
3332class CompilerJava {
3433 def compile (
@@ -59,10 +58,9 @@ case class Compiler() {
5958
6059 lazy val sourceTextExtractor = new SourceTextExtraction ()
6160
62- implicit val cs : ContextShift [IO ] = IO .contextShift(ExecutionContext .global)
63- implicit val ec : ExecutionContext = ExecutionContext .global
61+ implicit val ioRuntime : IORuntime = IORuntime .global
6462
65- lazy val clientResource = BlazeClientBuilder [IO ](ec) .resource
63+ lazy val clientResource = BlazeClientBuilder [IO ].resource
6664
6765 def compile (
6866 library : Library ,
You can’t perform that action at this time.
0 commit comments