mirror of
https://github.com/sbt/sbt.git
synced 2026-10-07 18:43:31 +02:00
Drop OkHttp dependency
Ref https://github.com/sbt/sbt/issues/6912 Problem ------- There's apparently a security issue with OkHttp 3.x, which I am not really sure how applicable it is to our usage of OkHttp but it is there. Solution -------- Since most of OkHttp-specic usage within LM is for Apache Ivy downloading, I am going to drop this. Since `sbt.librarymanagement.Http.http` is a public API, I am substituting this with Apache HTTP backed implementation.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package sbt.librarymanagement
|
||||
|
||||
import gigahorse._, support.okhttp.Gigahorse
|
||||
import gigahorse._, support.apachehttp.Gigahorse
|
||||
import scala.concurrent.duration.DurationInt
|
||||
|
||||
object Http {
|
||||
|
||||
Reference in New Issue
Block a user