[GRADLE-75] Section 11.5.4 Flat Folder Resolver, Point out what the first parameter is for. Created: 29/Apr/08  Updated: 04/Jan/13  Resolved: 01/May/08

Status: Resolved
Project: Gradle
Affects Version/s: 0.1.3
Fix Version/s: 0.1.4

Type: Improvement
Reporter: Peter Voss Assignee: Hans Dockter
Resolution: Fixed Votes: 0


In section 11.5.4. Flat Folder Resolver you are giving an example using

addFlatDirResolver('lib', new File(rootDir, 'lib1'), new File(rootDir, 'lib2')) 

It is not at all mentioned what the first parameter (lib) is for. According to the documentation lib1 and lib2 are the folders that are scanned for dependencies. But there is no word about the first parameter. Why is it there?

Comment by Hans Dockter [ 29/Apr/08 ]

Good point.

The first parameter is just the name of the resolver. This name will for example occur in the log.

Comment by Peter Voss [ 29/Apr/08 ]

One more (tiny) thing: You are using "Flat Folder Resolver" but the method is called addFlatDirResolver. You probably should also name the headline "Flat Dir Resolver".

Generated at Wed Jun 30 11:21:20 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.