mirror of https://github.com/sbt/sbt.git
Merge pull request #241 from tanishiking/enable-config-resource-with-gigahorse
Enable sbt to specify -Dconfig.resource=/path/to/configFile without disabling gigahorse
This commit is contained in:
commit
7eb25984d5
|
|
@ -3,5 +3,5 @@ package sbt.librarymanagement
|
|||
import gigahorse._, support.okhttp.Gigahorse
|
||||
|
||||
object Http {
|
||||
lazy val http: HttpClient = Gigahorse.http(Gigahorse.config)
|
||||
lazy val http: HttpClient = Gigahorse.http(gigahorse.Config())
|
||||
}
|
||||
|
|
|
|||
|
|
@ -214,7 +214,7 @@ object GigahorseUrlHandler {
|
|||
|
||||
private val EmptyBuffer: Array[Byte] = new Array[Byte](0)
|
||||
|
||||
lazy val http: HttpClient = Gigahorse.http(Gigahorse.config)
|
||||
lazy val http: HttpClient = Gigahorse.http(gigahorse.Config())
|
||||
|
||||
private lazy val okHttpClient: OkHttpClient = {
|
||||
http
|
||||
|
|
|
|||
Loading…
Reference in New Issue