Skip to content
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

[docType] Use slashstar for groovy, kotlin, and scala as proper usage #186

Merged
merged 1 commit into from
Sep 18, 2020

Conversation

hazendaz
Copy link
Collaborator

@hazendaz hazendaz commented Sep 2, 2020

These need to align with java usage. All three were confirmed that they should be slash star.

These need to align with java usage.  All three were confirmed that they should be slash star.
@hazendaz
Copy link
Collaborator Author

hazendaz commented Sep 2, 2020

@mathieucarbou If you look at these three language types on github, each have their own source files for the language types using slash star now.

kotlin example

groovy example

scala example

@mathieucarbou mathieucarbou added this to the 4.0.rc3 milestone Sep 18, 2020
@mathieucarbou
Copy link
Owner

this will break backward compatibility, but I think this is ok for version 4. This will be in release 4.0.rc3, just before the official 4.0.

@mathieucarbou mathieucarbou merged commit 5699982 into mathieucarbou:master Sep 18, 2020
@hazendaz
Copy link
Collaborator Author

@mathieucarbou Correct, same breaking change that was done with java so it matches.

uyw4687 added a commit to uyw4687/license-maven-plugin that referenced this pull request Sep 18, 2023
If you see examples in java, kotlin, etc., they mostly have newline after the copyright statement.
mathieucarbou#186
It might be because Intellij applies header file in that way and also because in this way this would be easier to divide copyright and the code.
Since customizing the headerDefinition regarding ending newline makes a quite long configuration having to reconfigure all other values, making it default might be better ƒor this plugin to be used more commonly.
uyw4687 added a commit to uyw4687/license-maven-plugin that referenced this pull request Sep 18, 2023
If you see examples in java, kotlin, etc., they mostly have newline after the copyright statement.
mathieucarbou#186
It might be because Intellij applies header file in that way and also because in this way this would be easier to divide copyright and the code.
Since customizing the headerDefinition regarding ending newline makes a quite long configuration having to reconfigure all other values, making it default might be better ƒor this plugin to be used more commonly.
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.

2 participants