'Gradle build failing in Intellij

I am using gradle version 7.3.3 and Oralce JDK 1.8.0_192. When I run gradle clean build --scan in Intellij, it's failing with the following error.

FAILURE: Build failed with an exception

  • Where: Auto-applied by using --scan

  • What went wrong: Plugin [id: 'com.gradle.enterprise', version: '3.7', artifact: 'com.gradle:gradle-enterprise-gradle-plugin:3.7'] was not found in any of the following sources:



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source