-
Notifications
You must be signed in to change notification settings - Fork 175
Add support for ktlint-plugins.properties version synchronization #1001
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: main
Are you sure you want to change the base?
Conversation
… file Co-authored-by: JLLeitschuh <[email protected]>
Co-authored-by: JLLeitschuh <[email protected]>
JLLeitschuh
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.
@copilot In addition to these review comments, please also add an entry to the CHANGELOG linking back to this pull request
|
|
||
| buildGradle.appendText( | ||
| """ | ||
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.
@copilot remove this extra white space
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.
Removed extra whitespace in commit de73ef6.
|
|
||
| buildGradle.appendText( | ||
| """ | ||
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.
@copilot remove this extra white space
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.
Removed extra whitespace in commit de73ef6.
|
|
||
| buildGradle.appendText( | ||
| """ | ||
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.
@copilot remove this extra white space
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.
Removed extra whitespace in commit de73ef6.
|
|
||
| buildGradle.appendText( | ||
| """ | ||
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.
@copilot remove this extra white space
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.
Removed extra whitespace in commit de73ef6.
|
|
||
| buildGradle.appendText( | ||
| """ | ||
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.
@copilot remove this extra white space
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.
Removed extra whitespace in commit de73ef6.
…pace, add CHANGELOG entry Co-authored-by: JLLeitschuh <[email protected]>
Co-authored-by: JLLeitschuh <[email protected]>
Plan: Add support for reading ktlint version from ktlint-plugins.properties
Code Review Feedback Addressed
All feedback from @JLLeitschuh has been addressed:
readKtlintVersionFromPropertiesFile()to usejava.util.PropertiesAPI instead of manual parsingKtlintPluginsPropertiesTest.kt)Changes Summary
PluginUtil.kt:
java.util.Properties.load()APIKtlintPluginsPropertiesTest.kt:
appendText()blocks for cleaner test codeCHANGELOG.md:
All tests pass (unit and integration), and ktlint code style checks are clean.
Original prompt
This pull request was created as a result of the following prompt from Copilot chat.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.