Comments (9)
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.
Perhaps it is a caching issue? Can you try with —refresh-dependencies?
from gradle-versions-plugin.
Unfortunately, that did not work:
Using fastlane command ->
gradle(task: "dependencyUpdates", flags: "--refresh-dependencies")
from gradle-versions-plugin.
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.
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.
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.
oh good, Android has its quirks so I guess so? 🤷
from gradle-versions-plugin.
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.
oh thanks for the clarification. glad it is working now! hope you find it useful.
from gradle-versions-plugin.
Related Issues (20)
- Versions past 0.44.0 generate useless output in some repos HOT 21
- Dependency formatting output, new lines included? HOT 12
- Latest version of org.jetbrains.kotlin dependencies are not being found HOT 2
- Support for ignoring deliberately lagging dependencies HOT 5
- Sign plugin artifacts HOT 1
- Question: Display max minor and max overall versions? HOT 7
- Failed to determine the latest version for the following dependencies with Kotlin 2.0.0 HOT 15
- Report has differences when nothing changes HOT 6
- unable to discover latest version of google guava HOT 1
- outputFormatter setting has no effect - json, xml & txt report always generated HOT 2
- Plugin is downgrading versions HOT 1
- Legacy configurations should be skipped HOT 3
- Add Kotlin-DSL initscript example HOT 1
- Change JDK 8-provider HOT 1
- Considerations for gradle/community hub HOT 3
- Not working anymore, deprecated? HOT 1
- Deprecation warnings for some classpaths HOT 1
- Can't check updates on gradle 8.4+ because of unchecked SAXNotRecognizedException HOT 2
- Exception in IntelliJ 2024.1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gradle-versions-plugin.