Hwyla

Hwyla

88M Downloads

Javadoc Errors in API JAR

Choonster opened this issue ยท 0 comments

commented

Issue Description:

There appear to be several Javadoc errors in the Hwyla Forge API JAR, these are preventing Javadoc generation for my own mod (which depends on Hwyla).

I've asked here and here about ignoring these errors, but haven't found any way to do that yet.

What happens:

These errors are logged in the Gradle output (from this CI run):

> Task :processResources
> Task :classes
> Task :makeLibraryMetas UP-TO-DATE
> Task :jar
> Task :downloadMcpConfig
> Task :extractSrg
> Task :createMcpToSrg
> Task :reobfJar
/home/runner/.gradle/caches/forge_gradle/deobf_dependencies/mcp/mobius/waila/Hwyla/1.10.11-B78_1.16.2_mapped_snapshot_20200916-1.16.2/Hwyla-1.10.11-B78_1.16.2_mapped_snapshot_20200916-1.16.2-api.jar(mcp/mobius/waila/api/IComponentProvider.java):56: error: invalid end tag: </br>

     * Callback used to add lines to one of the three sections of the tooltip (Head, Body, Tail).</br>
                                                                                                 ^
/home/runner/.gradle/caches/forge_gradle/deobf_dependencies/mcp/mobius/waila/Hwyla/1.10.11-B78_1.16.2_mapped_snapshot_20200916-1.16.2/Hwyla-1.10.11-B78_1.16.2_mapped_snapshot_20200916-1.16.2-api.jar(mcp/mobius/waila/api/IComponentProvider.java):57: error: invalid end tag: </br>
     * Will only be called if the implementing class is registered via {@link IRegistrar#registerComponentProvider(IComponentProvider, TooltipPosition, Class)}.</br>
> Task :javadoc
                                                                                                                                                                ^
/home/runner/.gradle/caches/forge_gradle/deobf_dependencies/mcp/mobius/waila/Hwyla/1.10.11-B78_1.16.2_mapped_snapshot_20200916-1.16.2/Hwyla-1.10.11-B78_1.16.2_mapped_snapshot_20200916-1.16.2-api.jar(mcp/mobius/waila/api/IComponentProvider.java):58: error: invalid end tag: </br>
     * You are supposed to always return the modified input tooltip.</br>
                                                                    ^
/home/runner/.gradle/caches/forge_gradle/deobf_dependencies/mcp/mobius/waila/Hwyla/1.10.11-B78_1.16.2_mapped_snapshot_20200916-1.16.2/Hwyla-1.10.11-B78_1.16.2_mapped_snapshot_20200916-1.16.2-api.jar(mcp/mobius/waila/api/RenderableTextComponent.java):5: error: package mcp.mobius.waila.api.impl does not exist
import mcp.mobius.waila.api.impl.WailaRegistrar;
                                ^
4 errors

> Task :javadoc FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':javadoc'.
> Javadoc generation failed. Generated Javadoc options file (useful for troubleshooting): '/home/runner/work/TestMod3/TestMod3/build/tmp/javadoc/javadoc.options'

What you expected to happen:

No errors to be logged, and Javadoc generation to succeed.


Affected Versions (Do not use "latest"):

  • Hwyla: Forge 1.10.11-B78_1.16.2
  • Minecraft: 1.16.3
  • Forge: 34.1.34