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

WirePlugin code gen task doesn't declare outputs correctly #3199

Open
ChrisCraik opened this issue Dec 4, 2024 · 1 comment
Open

WirePlugin code gen task doesn't declare outputs correctly #3199

ChrisCraik opened this issue Dec 4, 2024 · 1 comment

Comments

@ChrisCraik
Copy link

The code gen task in the wire plugin adds the generated code directory to sourcesets, but doesn't declare the directory's files as outputs via fileProvider.

Noticed this as I started using Wire in KMP project in AndroidX where we have checks for this sort of pattern, and I got an error about ':benchmark:benchmark-traceprocessor:generateCommonMainProtos' not being explicitly depended on by ':benchmark:benchmark-traceprocessor:multiplatformSourceJar' (which is a task that depends on all the source directories).

@oldergod
Copy link
Member

I'll see next week if we can fix this easily. Thanks for reporting.

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

No branches or pull requests

2 participants