[GRADLE-1840] The Javadoc task doesn't handle custom taglets correctly Created: 17/Oct/11 Updated: 04/Jan/13 Resolved: 02/Feb/12 |
|
| Status: | Resolved |
| Project: | Gradle |
| Affects Version/s: | 1.0-milestone-3 |
| Fix Version/s: | 1.0-milestone-8 |
| Type: | Bug | ||
| Reporter: | Dumitru Daniliuc | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Issue Links: |
|
||||||||
| Description |
|
javadoc { options.tags = [ 'Foo', 'Bar' ] }results in an exception from 'javadoc'. The problem is that 'javadoc' seems to expect '-taglet Foo -taglet Bar' instead of the '-tags Foo:Bar' option that Gradle generates. I was able to solve the issue by changing tags = addStringsOption("tags") in the org.gradle.external.javadoc.StandardJavadocDocletOptions constructor to tags = addMultilineStringsOption("taglet") |
| Comments |
| Comment by Stefan Simroth [ 02/Feb/12 ] |
|
Seems to be a duplicate of recently resolved |