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

Append .jar extension to instrumented artifact if it doesn't have it #28460

Merged
merged 3 commits into from
Mar 14, 2024

Conversation

asodja
Copy link
Member

@asodja asodja commented Mar 14, 2024

Also add tests for generated accessors in debug mode.

So we currently instrument everything (even directories) to a jar. The problem is, that generated accessors task generates accessors only for artifacts that have .jar extension.
This is not a problem on master since we instrument directories to directoris since #28017.

Fixes #28458

@asodja asodja added the a:investigation Issues requiring decision or investigation label Mar 14, 2024
@asodja asodja self-assigned this Mar 14, 2024
@asodja asodja changed the title Reproduce issue with Kotlin generated accessors with TestKit in debug mode Revert changes to DefaultInjectedClasspathPluginResolver from #27738 Mar 14, 2024
@gradle gradle deleted a comment from asodja Mar 14, 2024
@gradle gradle deleted a comment from asodja Mar 14, 2024
@gradle gradle deleted a comment from asodja Mar 14, 2024
@asodja asodja marked this pull request as ready for review March 14, 2024 11:34
@asodja asodja requested review from a team as code owners March 14, 2024 11:34
@asodja asodja requested review from a team and cobexer and removed request for a team March 14, 2024 11:34
@ljacomet ljacomet added this to the 8.7 RC4 milestone Mar 14, 2024
@asodja asodja added a:bug and removed a:investigation Issues requiring decision or investigation labels Mar 14, 2024
@cobexer cobexer requested review from ljacomet and removed request for cobexer March 14, 2024 16:24
@asodja asodja requested a review from a team as a code owner March 14, 2024 18:02
@asodja asodja changed the title Revert changes to DefaultInjectedClasspathPluginResolver from #27738 Append .jar extension to instrumented artifact if it doesn't have it Mar 14, 2024
@asodja asodja requested a review from mlopatkin March 14, 2024 18:14
@asodja asodja requested a review from a team as a code owner March 14, 2024 18:31
@gradle gradle deleted a comment from asodja Mar 14, 2024
@gradle gradle deleted a comment from asodja Mar 14, 2024
@gradle gradle deleted a comment from asodja Mar 14, 2024
@gradle gradle deleted a comment from asodja Mar 14, 2024
@asodja
Copy link
Member Author

asodja commented Mar 14, 2024

@bot-gradle test this

@bot-gradle
Copy link
Collaborator

I've triggered the following builds for you. Click here to see all build failures.

@asodja
Copy link
Member Author

asodja commented Mar 14, 2024

@bot-gradle test and merge

@bot-gradle bot-gradle added this pull request to the merge queue Mar 14, 2024
@bot-gradle
Copy link
Collaborator

The merge queue build has started. Click here to see all failures if any.

Copy link
Member

@ljacomet ljacomet left a comment

Choose a reason for hiding this comment

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

Thanks for adding a test!

Merged via the queue into release with commit 2fe6fca Mar 14, 2024
39 of 41 checks passed
@bot-gradle bot-gradle deleted the asodja/testkit-accessors branch March 14, 2024 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generating Kotlin DSL accessors in 8.7-rc-3 use Any instead of actual types
4 participants