mirror of https://github.com/sbt/sbt.git
commit
4d9013a3a3
|
|
@ -60,6 +60,7 @@ lazy val lm = (project in file("librarymanagement"))
|
|||
jsch,
|
||||
scalaReflect.value,
|
||||
launcherInterface,
|
||||
gigahorseOkhttp,
|
||||
sjsonnewScalaJson % Optional),
|
||||
libraryDependencies ++= scalaXml.value,
|
||||
resourceGenerators in Compile += Def
|
||||
|
|
|
|||
|
|
@ -0,0 +1,7 @@
|
|||
package sbt.librarymanagement
|
||||
|
||||
import gigahorse._, support.okhttp.Gigahorse
|
||||
|
||||
object Http {
|
||||
lazy val http: HttpClient = Gigahorse.http(Gigahorse.config)
|
||||
}
|
||||
|
|
@ -57,6 +57,7 @@ object Dependencies {
|
|||
val scalaXml = scala211Module("scala-xml", "1.0.5")
|
||||
val sjsonnewVersion = "0.7.0"
|
||||
val sjsonnewScalaJson = "com.eed3si9n" %% "sjson-new-scalajson" % sjsonnewVersion
|
||||
val gigahorseOkhttp = "com.eed3si9n" %% "gigahorse-okhttp" % "0.3.0"
|
||||
|
||||
private def scala211Module(name: String, moduleVersion: String) =
|
||||
Def.setting {
|
||||
|
|
|
|||
Loading…
Reference in New Issue