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")
14
14
lazy val V = new {
15
15
val cats : String = " 2.7.0"
16
16
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 "
20
20
val scala : String = " 2.13.8"
21
21
val scala212 : String = " 2.12.15"
22
22
val scalacheck : String = " 1.15.4"
Original file line number Diff line number Diff line change @@ -24,11 +24,10 @@ import cats.implicits._
24
24
import github4s .Github
25
25
import Comments .Mode
26
26
import CommentRendering .RenderedComment
27
- import cats .effect .{ContextShift , IO }
27
+ import cats .effect .IO
28
+ import cats .effect .unsafe .IORuntime
28
29
import github4s .domain .Commit
29
- import org .http4s .client .blaze .BlazeClientBuilder
30
-
31
- import scala .concurrent .ExecutionContext
30
+ import org .http4s .blaze .client .BlazeClientBuilder
32
31
33
32
class CompilerJava {
34
33
def compile (
@@ -59,10 +58,9 @@ case class Compiler() {
59
58
60
59
lazy val sourceTextExtractor = new SourceTextExtraction ()
61
60
62
- implicit val cs : ContextShift [IO ] = IO .contextShift(ExecutionContext .global)
63
- implicit val ec : ExecutionContext = ExecutionContext .global
61
+ implicit val ioRuntime : IORuntime = IORuntime .global
64
62
65
- lazy val clientResource = BlazeClientBuilder [IO ](ec) .resource
63
+ lazy val clientResource = BlazeClientBuilder [IO ].resource
66
64
67
65
def compile (
68
66
library : Library ,
You can’t perform that action at this time.
0 commit comments