Giter Site home page Giter Site logo

Comments (9)

RowanG1 avatar RowanG1 commented on June 8, 2024 1

The --info helped to find the issue, which showed that gradle properties were missing. I didn't realise that to run the dependency tool, all gradle properties need to be supplied, for all flavors.

from gradle-versions-plugin.

ben-manes avatar ben-manes commented on June 8, 2024

Perhaps it is a caching issue? Can you try with —refresh-dependencies?

from gradle-versions-plugin.

RowanG1 avatar RowanG1 commented on June 8, 2024

Unfortunately, that did not work:
Using fastlane command ->
gradle(task: "dependencyUpdates", flags: "--refresh-dependencies")

from gradle-versions-plugin.

ben-manes avatar ben-manes commented on June 8, 2024

hmm.. well that's not very much for me to advise on. You can use --info to inspect the gradle logs and why it resolved.

This plugin resolves a copy of your configuration and dependency with the dynamic version, +, and let Gradle do the work like it otherwise would. Does your CI has different restrictions, like using a repository cache, that do not apply when running locally? Sometimes dynamic queries resolve to stale maven-metadata.xml on a cached in a proxy whereas point lookups for absent versions are resolved anew.

from gradle-versions-plugin.

RowanG1 avatar RowanG1 commented on June 8, 2024

I am not aware of gitlab having restrictions. I even tried running the gitlab .yml on my local machine, but the result remains the same, even after removing the cache field on the gitlab script (previously it cached .gradle folder).
Anyhow, I really appreciate your help.

from gradle-versions-plugin.

ben-manes avatar ben-manes commented on June 8, 2024

yeah, I didn't know if you had a Nexus, Artifactory, etc. set up for your CI. Sometimes you'll see builds use that for improved reproducibility, e.g. when an external repository goes dark. I'd use the --info flag to inspect the logs and see how Gradle resolved a dependency, e.g. did it make the network requests, did it hit some resolution strategy or constraint, etc?

from gradle-versions-plugin.

ben-manes avatar ben-manes commented on June 8, 2024

oh good, Android has its quirks so I guess so? 🤷

from gradle-versions-plugin.

RowanG1 avatar RowanG1 commented on June 8, 2024

Sorry, I was mistaken about the comment: "all gradle properties need to be supplied, for all flavors". Actually, we use one private library, that is authenticated. Gradle needed the key/secret values for the library (which happens to be the same for all flavors).

from gradle-versions-plugin.

ben-manes avatar ben-manes commented on June 8, 2024

oh thanks for the clarification. glad it is working now! hope you find it useful.

from gradle-versions-plugin.

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.