Gradlew stopped working

Quite suddenly, Gradlew stopped working, getting an exception.
Not sure why this happened or what to do with it.

Thanks!

Look below:

C:\MyWork\Enonic\Work\Projects\demosite>gradlew

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project ‘demosite’.

Could not resolve all dependencies for configuration ‘:classpath’.
Could not find com.enonic.xp:gradle-plugin:6.0.0-SNAPSHOT.
Searched in the following locations:
file:/C:/Users/jarad/.m2/repository/com/enonic/xp/gradle-plugin/6.0.0-S
NAPSHOT/maven-metadata.xml
file:/C:/Users/jarad/.m2/repository/com/enonic/xp/gradle-plugin/6.0.0-S
NAPSHOT/gradle-plugin-6.0.0-SNAPSHOT.pom
file:/C:/Users/jarad/.m2/repository/com/enonic/xp/gradle-plugin/6.0.0-S
NAPSHOT/gradle-plugin-6.0.0-SNAPSHOT.jar
*ttps://jcenter.bintray.com/com/enonic/xp/gradle-plugin/6.0.0-SNAPSHOT/
maven-metadata.xml
*ttps://jcenter.bintray.com/com/enonic/xp/gradle-plugin/6.0.0-SNAPSHOT/
gradle-plugin-6.0.0-SNAPSHOT.pom
*ttps://jcenter.bintray.com/com/enonic/xp/gradle-plugin/6.0.0-SNAPSHOT/
gradle-plugin-6.0.0-SNAPSHOT.jar
*ttp://repo.enonic.com/public/com/enonic/xp/gradle-plugin/6.0.0-SNAPSHO
T/maven-metadata.xml
*ttp://repo.enonic.com/public/com/enonic/xp/gradle-plugin/6.0.0-SNAPSHO
T/gradle-plugin-6.0.0-SNAPSHOT.pom
*ttp://repo.enonic.com/public/com/enonic/xp/gradle-plugin/6.0.0-SNAPSHO
T/gradle-plugin-6.0.0-SNAPSHOT.jar
Required by:
:demosite:unspecified

Hi Jarle

Your build file is pointing to the 6.0.0-SNAPSHOT version of the gradle plugin. But you are most probably working with version 6.0.0 , unless you fetched XP from Github before the release.

Check the build.gradle file in your app project, and replace 6.0.0-SNAPSHOT with 6.0.0

That did it!

Thanks!