JavaDoc not building on JitPack for v4
See original GitHub issueBuilding the JavaDoc on JitPack does not work for v4 as you can see at https://jitpack.io/com/github/DV8FromTheWorld/JDA/v4-v3.7.1-g67c88d3-174/build.log.
The problem is that you use -html5
JavaDoc option but do not configure JitPack to build on Java 9+.
You can either do one of (or both)
- Configure newer Java in
jitpack.yml
, for example like
jdk:
- openjdk10
- Make the
-html5
switch dependent on the version built with, for example like
if (JavaVersion.toVersion(toolChain.version).java9Compatible) {
addBooleanOption 'html5', true
}
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Building :: Documentation for JitPack.io
Guide to publishing libraries. In order to publish your library on JitPack you just need a working build file in your Git repository....
Read more >Javadocs not building properly · Issue #2258 · jitpack ... - GitHub
In some instances, it seems like the source jar or javadocs jar doesn't exist. If I were to build it locally, I will...
Read more >Fatal error occurs when building library with jitpack
I found the answer, jitpack only uses java 8 so to fix the issue you need to add a file in the projects...
Read more >How to Configure JitPack for Recent JDK Versions
Isn't this just like using a SNAPSHOT build? Yes, but in this case there is no reason to create SNAPSHOT builds that you...
Read more >jitpack/jitpack.io - Gitter
@jitpack-io I no longer have access to older versions ... @sanity at the moment JitPack publishes javadocs if the build produces a -javadoc.jar...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So cut short, you don’t have any better idea and don’t want to improve on that, but thanks for the status heads-up.
(
)
May I ask why you think JitPack is not a good source for JavaDoc? Actually I think JitPack is generally not the best invention, but it is at least nice if there is no other option. javadoc.io is a great source for JavaDoc for all released versions, but for that as mentioned you would need to deploy to Maven Central (too).
I am just going to point out that the domain has already been updated to the new IP in a AAAA record.