Skip to content

Do not pollute CP with annotation-api#6694

Merged
headius merged 1 commit intojruby:masterfrom
pzygielo:scope
Jun 1, 2021
Merged

Do not pollute CP with annotation-api#6694
headius merged 1 commit intojruby:masterfrom
pzygielo:scope

Conversation

@pzygielo
Copy link
Contributor

@pzygielo pzygielo commented Jun 1, 2021

#6514 (comment):

We only use the API at build time for our annotation processor

Unfortunately, current compile scope used propagates to client project (it isn't compile-time-only) and is placed on project's classpath. I can't switch annotation api in the project, but I'd like to consider JRuby upgrade.

I've built and used jruby-core 9.3.0.0-SNAPSHOT to verify that this change would work as I expect it. (I used published snapshot in first place and learnt that it conflicts with the project.)

@pzygielo pzygielo marked this pull request as ready for review June 1, 2021 18:16
@headius
Copy link
Member

headius commented Jun 1, 2021

Thank you... I noticed during the move to jakarta-annotation-api that this was being shaded and planned to fix it myself!

@headius headius merged commit f960869 into jruby:master Jun 1, 2021
@headius headius added this to the JRuby 9.3.0.0 milestone Jun 1, 2021
@pzygielo pzygielo deleted the scope branch June 2, 2021 06:52
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