[GRADLE-2520] Javadoc options need some ordering Created: 12/Oct/12 Updated: 04/Jan/13 Resolved: 04/Nov/12 |
|
| Status: | Resolved |
| Project: | Gradle |
| Affects Version/s: | 1.2 |
| Fix Version/s: | 1.3-rc-1 |
| Type: | Bug | ||
| Reporter: | Ronald Blaschke | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Description |
|
The build files below fails with javadoc: error - option -locale must be first on the command line. apply plugin: 'java'
javadoc {
options {
locale = 'en_US'
encoding = 'UTF-8'
docFilesSubDirs = true
excludeDocFilesSubDir '.svn'
}
}
Javadoc gets called with the options in the following order (taken from build/tmp/javadoc/javadoc.options.) -excludedocfilessubdir '.svn' -locale 'en_US' -docfilessubdirs -doctitle 'test API' -encoding 'UTF-8' |