[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 |
Description |
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? |
Comments |
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". |