Giter Club home page Giter Club logo

Comments (8)

suraj-qlogic avatar suraj-qlogic commented on July 28, 2024 2

@jnizet please try below config

repositories {
    google()
    jcenter()
}

dependencies {
    implementation("com.google.cloud:google-cloud-storage:1.104.0")
}

from java-storage.

jnizet avatar jnizet commented on July 28, 2024

@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?
If those annotations are supposed to be in the dependencies of an artifact published on Maven central, why aren't they also published on Maven central?
If the google repo is necessary, why isn't it documented in the README?

from java-storage.

gregorbg avatar gregorbg commented on July 28, 2024

I am experiencing the exact same issue, basically +1 everything @jnizet said.

I'm also astonished that this issue occurs when bumping from 1.103 (no error) to 1.104 (error as described above). The minor version bump does not imply to me that repositories {} block should be updated.

from java-storage.

frankyn avatar frankyn commented on July 28, 2024

@chingor13 it looks like a dependency was added into api-client that's only available in Google maven repository. Do you have more information?

from java-storage.

chingor13 avatar chingor13 commented on July 28, 2024

cc @elharo

I think this was fixed upstream but I need to do a release for it.

from java-storage.

elharo avatar elharo commented on July 28, 2024

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.

from java-storage.

frankyn avatar frankyn commented on July 28, 2024

@elharo what are the changes users should be waiting for?

from java-storage.

elharo avatar elharo commented on July 28, 2024

googleapis/google-api-java-client#1491

from java-storage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.