asciidoclet icon indicating copy to clipboard operation
asciidoclet copied to clipboard

allow multiple source location in gradle

Open tbee opened this issue 7 years ago • 6 comments

I use asciidoctlet in JFXtras and am very pleased with it. Recently Maven central required all jars to be accompanied with a source jar and javadoc jar. Beside the component jars, JFXtras also releases an all-in-one jar, which now requires a source and javadoc jar. I'm not very fluent in Gradle, but apparently asciidoctor cannot use multiple source locations so to generate one big javadoc. Is this easily added?

tbee avatar Dec 03 '17 13:12 tbee

I believe we're deploying the source and javadoc jars. For example: https://bintray.com/asciidoctor/maven/asciidoclet#files/org%2Fasciidoctor%2Fasciidoclet%2F1.5.6

johncarl81 avatar Jul 14 '18 01:07 johncarl81

The operative word here being "multiple".

tbee avatar Jul 14 '18 07:07 tbee

Look at the ConsensusJ project (in gradle/javadoc.gradle) for an example...

msgilligan avatar Jul 14 '18 07:07 msgilligan

Correct me if I'm wrong @msgilligan... here's the configuration @tbee to collect all your project source javadocs together: https://github.com/ConsensusJ/consensusj/blob/master/gradle/javadoc.gradle#L49-L50

This is less of a doclet issue than a Javadoc thing.

johncarl81 avatar Jul 14 '18 15:07 johncarl81

Yes, @johncarl81 it's a Gradle and Javadoc configuration issue, but ConsensusJ shows one way of doing it.

BTW, it's really cool to hear that https://github.com/JFXtras is using Asciidoclet!

msgilligan avatar Jul 14 '18 15:07 msgilligan

@tbee, does this give you enough to go on?

johncarl81 avatar Jul 14 '18 15:07 johncarl81