Unable to sync 0.40.2 with Gradle 7.4.2
See original GitHub issue- I have read the guidelines for submitting issues
🐛 Describe the bug
Execution failed for task ':buildSrc:generateExternalPluginSpecBuilders'.
> Could not resolve all files for configuration ':buildSrc:compileClasspath'.
> Could not find de.fayard.refreshVersions:de.fayard.refreshVersions.gradle.plugin:0.40.2.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/de/fayard/refreshVersions/de.fayard.refreshVersions.gradle.plugin/0.40.2/de.fayard.refreshVersions.gradle.plugin-0.40.2.pom
- https://repo.maven.apache.org/maven2/de/fayard/refreshVersions/de.fayard.refreshVersions.gradle.plugin/0.40.2/de.fayard.refreshVersions.gradle.plugin-0.40.2.pom
Required by:
project :buildSrc
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
⚠️ Current behavior
- Bumping 0.40.1 to 0.40.2 (works)
- When bumping to Gradle 7.4.2, and sync project, crash occurred
✅ Expected behavior
Should able to sync (no crash)
💣 Steps to reproduce
When bumping to Gradle 7.4.2, and sync project
📱 Tech info
Issue Analytics
- State:
- Created a year ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Unable to sync 0.40.2 with Gradle 7.4.2 - PullAnswer
Unable to sync 0.40.2 with Gradle 7.4.2 · Describe the bug · ⚠️ Current behavior · ✓ Expected behavior · Steps to reproduce...
Read more >Gradle 7.4.2 Release Notes
This is the second patch release for Gradle 7.4. It fixes the following issues: #20272 Tasks that show up later on the command...
Read more >Add support for Gradle 7.4 Version Catalogs #333 - GitHub
Gradle 7.0 introduced the "centralized declaration of dependencies". ... Unable to sync 0.40.2 with Gradle 7.4.2 #557.
Read more >Gradle doesn't sync in Android Studio - Stack Overflow
Option 1 · Install gradle manually on gradle official website · Extract gradle.zip file (remember the location) · Open android studio > file...
Read more >Fix Error: Could not install Gradle distribution from ... - YouTube
How to fix error : Could not install Gradle distribution from 'https://services. gradle.org/distributions/ gradle -7.0.2-bin.zip' in Android ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
100% this is because you set repos without including
gradlePluginPortal()
for both the root projet and for buildSrc.awesome, thanks for telling me @mochadwi