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

Add support for pinterest package and group changes #228

Merged

Conversation

tasomaniac
Copy link
Contributor

@tasomaniac tasomaniac commented Apr 23, 2019

Problem

ktlint just released version 0.32.0 to fix a problem with Kotlin 1.3.30. But at the same time, they also changed the maven group id and package names. That is why just updating ktlint version to 0.32.0 breaks ktlint plugin.

Solution

I've replaces groups and packages to support the new version. These changes here should be backward compatible.

Considerations

Since this is only required when using version 0.32.0, I haven't changed the sample repo.
Added test that checks that the correct dependency is added.

Fixes #227

Since this is only required when using version 0.32.0, I haven't changed the sample repo.

Added test that checks that the correct dependency is added.
@Tapchicoma
Copy link
Collaborator

@tasomaniac can you also update CHANGELOG.md with:

## [Unreleased]
### Changed
  - Default ktlint version to `0.32.0`. 

  Add support different group/package name (#228)

Copy link
Collaborator

@Tapchicoma Tapchicoma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you for contribution 👍

@Tapchicoma Tapchicoma merged commit bc6b2da into JLLeitschuh:master Apr 23, 2019
@tasomaniac tasomaniac deleted the taso/support-pinterest-ktlint branch April 23, 2019 12:54
Copy link
Owner

@JLLeitschuh JLLeitschuh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

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.

Update ktlint to "0.32.0"
3 participants