-
Notifications
You must be signed in to change notification settings - Fork 506
Reuse configs for KotlinExtension and KotlinGradleExtension
#1890
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
Conversation
KotlinFormatExtension to KtlintFormatExtensionKotlinExtension and KotlinGradleExtension
This comment was marked as outdated.
This comment was marked as outdated.
5a0afce to
4597085
Compare
KotlinExtension and KotlinGradleExtensionKotlinExtension and KotlinGradleExtension
| public class KotlinExtension extends FormatExtension implements HasBuiltinDelimiterForLicense, JvmLang { | ||
| public class KotlinExtension extends BaseKotlinExtension implements HasBuiltinDelimiterForLicense, JvmLang { |
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.
Should we implement HasBuiltinDelimiterForLicense for KotlinGradleExtension? If so we can move this into BaseKotlinExtension as well.
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.
Same problem as for Groovy imo.
491cad5 to
a392c72
Compare
|
Another nice refactor! |
|
I configure Spotless in my project via a local plugin which is now broken by this refactor:
|
|
This use-case is not been covered by tests, fixing it in #1912. |
KotlinFormatExtensionmight be a typo, renames it.*Config.