Skip to content

fix(core): add compiled output to javadocImmutable classpath#953

Open
nielspardon wants to merge 1 commit into
substrait-io:mainfrom
nielspardon:fix/javadoc-immutable-classpath
Open

fix(core): add compiled output to javadocImmutable classpath#953
nielspardon wants to merge 1 commit into
substrait-io:mainfrom
nielspardon:fix/javadoc-immutable-classpath

Conversation

@nielspardon

Copy link
Copy Markdown
Member

The javadocImmutable task only had compileClasspath (external dependency JARs) but not the project's own compiled output. Immutables-generated sources import their hand-written enclosing types (Hint, Rel, etc.) which live in the project's compiled classes, not in external JARs, causing 100+ cannot find symbol / package does not exist errors from javadoc.

Add sourceSets["main"].output.classesDirs to the classpath so javadoc can resolve cross-references between generated and hand-written sources.


🤖 Generated with AI

The javadocImmutable task only had compileClasspath (external dependency
JARs) but not the project's own compiled output. Immutables-generated
sources import their hand-written enclosing types (Hint, Rel, etc.) which
live in the project's compiled classes, not in external JARs, causing
100+ 'cannot find symbol' / 'package does not exist' errors from javadoc.

Add sourceSets["main"].output.classesDirs to the classpath so javadoc
can resolve cross-references between generated and hand-written sources.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant