[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:
Duplicated by GRADLE-1563 Javadoc Plugin does not generate corr... Resolved



{ 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")

Comment by Stefan Simroth [ 02/Feb/12 ]

Seems to be a duplicate of recently resolved GRADLE-1563

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