Replace `ivys` and `artifacts` in comments

The `ivys` and `artifacts` methods are not available anymore, now referring to `withPatterns`
This commit is contained in:
Philippus Baalman 2017-09-04 15:46:39 +02:00 committed by GitHub
parent 6fc7bc6dc9
commit d976980af2
1 changed files with 2 additions and 2 deletions

View File

@ -295,7 +295,7 @@ abstract class ResolverFunctions {
/**
* Constructs a file resolver with the given name. The patterns to use must be explicitly specified
* using the `ivys` or `artifacts` methods on the constructed resolver object.
* using the `withPatterns` method on the constructed resolver object.
*/
def apply(name: String): FileRepository =
FileRepository(name, defaultFileConfiguration, Patterns(false))
@ -310,7 +310,7 @@ abstract class ResolverFunctions {
/**
* Constructs a URL resolver with the given name. The patterns to use must be explicitly specified
* using the `ivys` or `artifacts` methods on the constructed resolver object.
* using the `withPatterns` method on the constructed resolver object.
*/
def apply(name: String): URLRepository = URLRepository(name, Patterns(false))