Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ addCommandAlias("ci-publish", ";github; ci-release")
lazy val V = new {
val cats: String = "2.7.0"
val collectioncompat: String = "2.6.0"
val github4s: String = "0.28.5"
val http4s: String = "0.21.31"
val runtime: String = "0.6.4"
val github4s: String = "0.30.0"
val http4s: String = "0.23.8"
val runtime: String = "0.7.0"
val scala: String = "2.13.8"
val scala212: String = "2.12.15"
val scalacheck: String = "1.15.4"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,10 @@ import cats.implicits._
import github4s.Github
import Comments.Mode
import CommentRendering.RenderedComment
import cats.effect.{ContextShift, IO}
import cats.effect.IO
import cats.effect.unsafe.IORuntime
import github4s.domain.Commit
import org.http4s.client.blaze.BlazeClientBuilder

import scala.concurrent.ExecutionContext
import org.http4s.blaze.client.BlazeClientBuilder

class CompilerJava {
def compile(
Expand Down Expand Up @@ -59,10 +58,9 @@ case class Compiler() {

lazy val sourceTextExtractor = new SourceTextExtraction()

implicit val cs: ContextShift[IO] = IO.contextShift(ExecutionContext.global)
implicit val ec: ExecutionContext = ExecutionContext.global
implicit val ioRuntime: IORuntime = IORuntime.global

lazy val clientResource = BlazeClientBuilder[IO](ec).resource
lazy val clientResource = BlazeClientBuilder[IO].resource

def compile(
library: Library,
Expand Down