From d976980af26c04d0256f85357e456bd6a69e10ae Mon Sep 17 00:00:00 2001 From: Philippus Baalman Date: Mon, 4 Sep 2017 15:46:39 +0200 Subject: [PATCH] Replace `ivys` and `artifacts` in comments The `ivys` and `artifacts` methods are not available anymore, now referring to `withPatterns` --- core/src/main/scala/sbt/librarymanagement/ResolverExtra.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/scala/sbt/librarymanagement/ResolverExtra.scala b/core/src/main/scala/sbt/librarymanagement/ResolverExtra.scala index 52e0b7fd2..b49b934b5 100644 --- a/core/src/main/scala/sbt/librarymanagement/ResolverExtra.scala +++ b/core/src/main/scala/sbt/librarymanagement/ResolverExtra.scala @@ -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))