Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
joan38 committed Feb 3, 2025
1 parent 93eab63 commit d85476a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 14 deletions.
2 changes: 1 addition & 1 deletion build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ trait KubernetesClientModule
)

override def ivyDeps =
super.ivyDeps() ++ fs2 ++ http4s ++ circe ++ circeYaml ++ bouncycastle ++ collectionCompat ++ logging ++ java8compat
super.ivyDeps() ++ http4s ++ circe ++ circeYaml ++ bouncycastle ++ collectionCompat ++ logging ++ java8compat
override def scalacPluginIvyDeps = super.scalacPluginIvyDeps() ++
(if (isScala3(scalaVersion())) Agg.empty else Agg(ivy"org.typelevel:::kind-projector:0.13.3"))

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ import cats.data.OptionT
import cats.effect.*
import com.goyeau.kubernetes.client.api.*
import com.goyeau.kubernetes.client.crd.{CrdContext, CustomResource, CustomResourceList}
import com.goyeau.kubernetes.client.operation.*
import com.goyeau.kubernetes.client.util.SslContexts
import com.goyeau.kubernetes.client.util.cache.{AuthorizationParse, ExecToken}
import io.circe.{Decoder, Encoder}
import org.http4s.Request
import org.http4s.client.Client
import org.http4s.headers.Authorization
import org.http4s.jdkhttpclient.{JdkHttpClient, JdkWSClient}
import org.http4s.client.websocket.WSClient
import org.http4s.client.websocket.{WSClient, WSRequest}
import org.typelevel.log4cats.Logger

import java.net.http.HttpClient

class KubernetesClient[F[_]: Async: Logger](
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.goyeau.kubernetes.client.api

import cats.effect.{Async, Resource}
import cats.effect.Async
import cats.effect.syntax.all.*
import cats.syntax.all.*
import com.goyeau.kubernetes.client.KubeConfig
Expand Down
12 changes: 2 additions & 10 deletions project/Dependencies.sc
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,8 @@ lazy val circe = {
)
}

lazy val fs2 = {
val version = "3.9.3"
Agg(
ivy"co.fs2::fs2-core:$version",
ivy"co.fs2::fs2-io:$version",
)
}

lazy val http4s = {
val version = "0.23.30"
lazy val http4s = {
val version = "0.23.30"
val jdkClientVersion = "0.10.0"
Agg(
ivy"org.http4s::http4s-dsl:$version",
Expand Down

0 comments on commit d85476a

Please sign in to comment.