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 jackson-module-kotlin dependency when relevant #600

Closed
wants to merge 1 commit into from

Conversation

sdeleuze
Copy link
Contributor

This commit introduces a "json" facet designed to identify spring-boot-starter-json transitive dependency, and adds jackson-module-kotlin dependency if any dependency with that facet is included when Kotlin language is used.

Copy link
Contributor

@snicoll snicoll left a comment

Choose a reason for hiding this comment

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

LGTM. Can you revert the doc update please?

any other dependency with that facet is included. The value of the "facets" property of a
dependency is a list of strings.
generated project. In the standard Initializr generator, there are only two facets that
are actually used (`web` and `json`), but custom installations might choose to use it for
Copy link
Contributor

Choose a reason for hiding this comment

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

I wouldn't update the documentation of the library for a service-specific feature.

This commit introduces a "json" facet designed to identify
spring-boot-starter-json transitive dependency, and adds
jackson-module-kotlin dependency if any dependency with
that facet is included when Kotlin language is used.
@sdeleuze
Copy link
Contributor Author

Done

snicoll pushed a commit that referenced this pull request Feb 12, 2018
This commit introduces a "json" facet designed to identify
spring-boot-starter-json transitive dependency, and adds
jackson-module-kotlin dependency if any dependency with
that facet is included when Kotlin language is used.

See gh-600
@snicoll snicoll closed this in 15fb6eb Feb 12, 2018
snicoll added a commit that referenced this pull request Feb 12, 2018
* pr/600:
  Polish "Add jackson-module-kotlin dependency when appropriate"
  Add jackson-module-kotlin dependency when appropriate
@snicoll snicoll self-assigned this Feb 12, 2018
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.

None yet

2 participants