------------------------------------------------------------
Gradle 4.2.1
------------------------------------------------------------
Build time: 2017-10-02 15:36:21 UTC
Revision: a88ebd6be7840c2e59ae4782eb0f27fbe3405ddf
Groovy: 2.4.12
Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM: 1.8.0_101 (Oracle Corporation 25.101-b13)
OS: Mac OS X 10.12.6 x86_64
# remove the gradle cache and try any gradle command
rm -fR ~/.gradle/caches
FAILURE: Build failed with an exception.
* Where:
Build file '/Developer/work/spring-kotlin-fullstack/backend/build.gradle.kts' line: 2
* What went wrong:
Plugin [id: 'org.springframework.boot', version: '2.0.0.M5', artifact: 'org.springframework.boot:spring-boot-gradle-plugin:2.0.0.M5'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Gradle Central Plugin Repository (explicit artifact coordinates are not supported by this source)
- maven(https://jcenter.bintray.com/) (Could not resolve plugin artifact 'org.springframework.boot:spring-boot-gradle-plugin:2.0.0.M5')
- maven(https://repo.spring.io/milestone) (Could not resolve plugin artifact 'org.springframework.boot:spring-boot-gradle-plugin:2.0.0.M5')
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 2s