What went wrong:
A problem occurred configuring root project ‘spring’.
Could not resolve all files for configuration ‘:classpath’.
Could not find org.jetbrains.dokka:integration:0.9.15.
Searched in the following locations:
https://repo.spring.io/plugins-release/org/jetbrains/dokka/integration/0.9.15/integration-0.9.15.pom
https://repo.spring.io/plugins-release/org/jetbrains/dokka/integration/0.9.15/integration-0.9.15.jar
https://plugins.gradle.org/m2/org/jetbrains/dokka/integration/0.9.15/integration-0.9.15.pom
https://plugins.gradle.org/m2/org/jetbrains/dokka/integration/0.9.15/integration-0.9.15.jar
Required by:
project : > org.jetbrains.dokka:dokka-gradle-plugin:0.9.15
-
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
解决方法
1. 修改build.gradle文件,将id “org.jetbrains.dokka” version “0.9.15” 修改为id “org.jetbrains.dokka” version “0.9.17”
2. repositories中添加maven { url “https://plugins.gradle.org/m2/” },问题解决了,可以下载新版本的jar