Add deprecation annotations.

This commit is contained in:
David Pratt 2017-09-04 16:57:13 -05:00
parent 204f0dcd6c
commit 5d32ec2966
1 changed files with 2 additions and 0 deletions

View File

@ -225,10 +225,12 @@ object GigahorseUrlHandler {
.build
}
@deprecated("Use the Gigahorse HttpClient directly instead.", "librarymanagement-ivy 1.0.1")
private[sbt] def urlFactory = {
new OkUrlFactory(okHttpClient)
}
@deprecated("Use the Gigahorse HttpClient directly instead.", "librarymanagement-ivy 1.0.1")
private[sbt] def open(url: URL): HttpURLConnection =
urlFactory.open(url)