question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot find new versions for dependencies in `allprojects`

See original GitHub issue

Not sure if the title is right. I have the following in my main build.gradle file:

plugins {
	id 'checkstyle'
}

allprojects {
	apply plugin: 'checkstyle'

	dependencies {
		checkstyle 'com.puppycrawl.tools:checkstyle:8.23'
	}
}

Running gradle dependencyUpdates leads to:

Failed to determine the latest version for the following dependencies (use --info for details):
 - com.puppycrawl.tools:checkstyle
     8.23

Not sure why. Any ideas?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
ben-manescommented, Aug 7, 2019

Good, just wanted to be sure. You need to specify repositories in the all projects block, too.

0reactions
boris-petrovcommented, Aug 8, 2019

OK, fair enough. Thank you for the great support! I’ll leave you to decide whether to close the issue or leave it as a reference. Thanks again!

Read more comments on GitHub >

github_iconTop Results From Across the Web

firebase - I didnt see Allprojects repositories - Stack Overflow
To resolve it, simply go to "settings.gradle" file comment off the whole block for 'dependencyResolutionManagement'. Then reSync your project ...
Read more >
Sharing dependency versions between projects
Each catalog is visible to all projects of a build. It is a central place to declare a version of a dependency and...
Read more >
Add build dependencies - Android Developers
Learn how to add build dependencies using the Gradle build system in Android Studio.
Read more >
Fix "Error Could not find method implementation() for ...
Method 1: Update to the latest Gradle version; Method 2: Change “implementation” to “compile”; Method 3: Move dependencies to module build.
Read more >
Reinstalling and updating packages - NuGet - Microsoft Learn
Update-Package –reinstall reinstalls the same version of the original package, but installs the latest version of dependencies unless specific ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found