Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-2520

Javadoc options need some ordering

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.3-rc-1

      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'
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            rblasch Ronald Blaschke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: