[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'

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