Hello, I have been trying to build my gradle proje...
# community-support
d
Hello, I have been trying to build my gradle project and I have been seeing this error for the past few days. My project used to build properly but now just a few days ago I started seeing this error. What can it possibly mean and what can I do to fix it?
v
Please never anywhere share screenshots of text if you only want to share the text and not something additional like colors or IDE annotations. Text in images is hard to read, especially on mobile, very hard to copy, and nearly impossible to search for. And make sure you are not fooled by https://youtrack.jetbrains.com/issue/IDEA-241844, you do not show the full error message. Optimally, share the error using a build
--scan
URL if possible.
d
Hello @Vampire, I'm very sorry. I will share just the text error using a build --scan. FAILURE: Build failed with an exception. * Where: Auto-applied by using --scan * What went wrong: Plugin [id: 'com.gradle.enterprise', version: '3.15.1', artifact: 'com.gradlegradle enterprise gradle plugin3.15.1'] was not found in any of the following sources: - Gradle Core Plugins (plugin is not in 'org.gradle' namespace) - Plugin Repositories (could not resolve plugin artifact 'com.gradlegradle enterprise gradle plugin3.15.1') Searched in the following repositories: Gradle Central Plugin Repository * Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.
CONFIGURE FAILED in 833ms
v
Hm, it even cannot create a scan, that is sad. But at least you shared the full error now. As the plugin it searches for is available in the repository it searches in, that usually means you have a problem between you and the server. For example an AntiVirus or Firewall intervening the download, or most often you need to use a proxy to access the outworld but do not have configured Gradle to use it.
d
oh ok do you know how can i fix that?
@Vampire
v
I don't know what your concrete problem is and my crystal ball is at the repair shop, sorry. I can just tell you what for example might be the problem.
Maybe if you run with
--refresh-dependencies --debug
you get more information about what happens. 🤷‍♂️
d
alright, thank you 👍
👌 1