-
Notifications
You must be signed in to change notification settings - Fork 103
Add the "addScripts" configuration parameter #1281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Add the "addScripts" configuration parameter #1281
Conversation
olamy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution. I have added a couple of comments.
| # specific language governing permissions and limitations | ||
| # under the License. | ||
|
|
||
| invoker.goals=compile javadoc:javadoc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if available only since jdk 18, you need add something such
invoker.java.version = 18+
| return; | ||
| } | ||
|
|
||
| for (String addScript : addScripts) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe check if the jdk is at least 18, if not throw a proper error message
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hey 👋🏻 , thanks for having a look and for the suggestions!
I'll try to address these soon 🙂.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
addArgIfNotEmpty( had that check to produce a warning, but as you've suggested... I added a check and exception just above ^.
thanks 🙂
to support the "--add-script" argument of the javadoc tool: https://docs.oracle.com/en/java/javase/18/docs/specs/man/javadoc.html
3d26e03 to
68c8835
Compare
Add support for the "--add-script" argument of the javadoc tool: https://docs.oracle.com/en/java/javase/18/docs/specs/man/javadoc.html
this one follows the approach taken for the additional stylesheets and adds the same functionality for the additional scripts.
Following this checklist to help us incorporate your
contribution quickly and easily:
Note that commits might be squashed by a maintainer on merge.
This may not always be possible but is a best-practice.
mvn verifyto make sure basic checks pass.A more thorough check will be performed on your pull request automatically.
mvn -Prun-its verify).If your pull request is about ~20 lines of code you don't need to sign an
Individual Contributor License Agreement if you are unsure
please ask on the developers list.
To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.