-
Notifications
You must be signed in to change notification settings - Fork 78
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
Storage: Dependency issue: Could not find androidx.annotation:annotation:1.1.0 #148
Comments
@jnizet please try below config repositories {
google()
jcenter()
}
dependencies {
implementation("com.google.cloud:google-cloud-storage:1.104.0")
} |
@suraj-qlogic thanks, that works fine. But still, I shouldn't have to do that, IMHO. This is why I submitted this issue (which IMHO, is an issue, and not just a question). Why is a generic Java library dependant on what seems to be, according to its name, android-specific annotations? |
I am experiencing the exact same issue, basically +1 everything @jnizet said. I'm also astonished that this issue occurs when bumping from |
@chingor13 it looks like a dependency was added into api-client that's only available in Google maven repository. Do you have more information? |
cc @elharo I think this was fixed upstream but I need to do a release for it. |
I'm still not convinced this was a bug, though there is a lot of failure in tools here because it exercised some parts of the Maven pom.xml that weren't well designed and/or correctly implemented. Regardless, changes have been committed that will avoid this for now. I don't think @chingor13 has released those yet. |
@elharo what are the changes users should be waiting for? |
Environment details
Steps to reproduce
Create a gradle-based project with these (gradle 6.2):
Build it.
The build fails with
Not sure if this dependency should exist in the first place. But if it should exist, then it should also be published to the repositories where google-cloud-storage is published. Or at the very least, the README should indicate if/when the dependency can be excluded and/or which repository to add to be able to use google-cloud-storage
The text was updated successfully, but these errors were encountered: