-
Notifications
You must be signed in to change notification settings - Fork 459
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
Reuse configs for KotlinExtension
and KotlinGradleExtension
#1890
Conversation
KotlinFormatExtension
to KtlintFormatExtension
KotlinExtension
and KotlinGradleExtension
This comment was marked as outdated.
This comment was marked as outdated.
5a0afce
to
4597085
Compare
KotlinExtension
and KotlinGradleExtension
KotlinExtension
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. |
KotlinFormatExtension
might be a typo, renames it.*Config
.