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

The following Android dependencies are set to compileOnly which is not supported #968

Open
lawonga opened this issue Apr 17, 2024 · 1 comment

Comments

@lawonga
Copy link

lawonga commented Apr 17, 2024

On the newest beta, I get this error when trying to compile. However I'm not using anything that's compileOnly and there's no direct reference to com.squareup.anvil:annotations (I'm just pulling it implicitly using the setup instructions)

The following Android dependencies are set to compileOnly which is not supported:
-> com.squareup.anvil:annotations:2.5.0-beta07

Edit: e6a8d35#diff-96f123065134ce8c42eb48a194b9192d209908528cd943b6f966576a736d1423R145 this looks like a change from the beta 🤔

(FWIW I'm trying to update from Dagger 2.4.9 to 2.5.0 beta 7)

@RBusarow
Copy link
Member

Thank you for the report.

Can you give details about your project? What versions are you using for Kotlin, Gradle, and AGP? A reproducer project would be helpful if you can manage it.

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