Skip to content

Conversation

rbeazleyspot
Copy link
Contributor

Alternative for #1363 using data attribute

This adds a data attribute to kt_plugin_cfg and kt_compiler_plugin

ctx.expand_location is curried with the targets listed in data

tested here using bazelisk build //app:compose_example_app

@rbeazleyspot
Copy link
Contributor Author

if this looks good I can make the PR mergable

@restingbull
Copy link
Collaborator

Looks good!

Can you add a usecase to the examples? Want to make sure we don't regress.

@rbeazleyspot
Copy link
Contributor Author

Looks good!

Can you add a usecase to the examples? Want to make sure we don't regress.

hows bb4f777 look?

@restingbull
Copy link
Collaborator

Thanks!

@restingbull restingbull merged commit 124421e into bazelbuild:master Sep 19, 2025
2 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