Skip to content
This repository has been archived by the owner on May 13, 2021. It is now read-only.

Javadoc Errors in API JAR #303

Open
Choonster opened this issue Oct 31, 2020 · 0 comments
Open

Javadoc Errors in API JAR #303

Choonster opened this issue Oct 31, 2020 · 0 comments

Comments

@Choonster
Copy link

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
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant