Skip to content

fix: set correct override for Jackson annotation processor option#1574

Merged
elucash merged 1 commit intoimmutables:masterfrom
devinrsmith:fix-jackson-annotation-option
Jul 23, 2025
Merged

fix: set correct override for Jackson annotation processor option#1574
elucash merged 1 commit intoimmutables:masterfrom
devinrsmith:fix-jackson-annotation-option

Conversation

@devinrsmith
Copy link
Copy Markdown
Contributor

No description provided.

@devinrsmith
Copy link
Copy Markdown
Contributor Author

It took me a while to figure out why the annotation processor option was not working:

tasks.withType(JavaCompile).configureEach {
    options.compilerArgs += '-Aimmutables.jackson.prefix=com.example.jackson'
}

I believe it is because of the bug I've pointed out in this PR.

I do not have a good way to test this (not as fluent working with maven; was getting mvn install errors).

@elucash
Copy link
Copy Markdown
Member

elucash commented Jul 23, 2025

I believe it is. Thank you for PR! merging

@elucash elucash merged commit 56d2395 into immutables:master Jul 23, 2025
16 checks passed
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.

2 participants