repositories {
maven {
url "https://maven.aliyun.com/repository/gradle-plugin"
}
gradlePluginPortal()
}
错误:
> Could not resolve all files for configuration ':buildSrc:compileClasspath'.
> Could not find dokka-gradle-plugin-1.5.0.jar (org.jetbrains.dokka:dokka-gradle-plugin:1.5.0).
Searched in the following locations:
https://maven.aliyun.com/repository/gradle-plugin/org/jetbrains/dokka/dokka-gradle-plugin/1.5.0/dokka-gradle-plugin-1.5.0.jar
> Could not find dokka-core-1.5.0.jar (org.jetbrains.dokka:dokka-core:1.5.0).
Searched in the following locations:
https://maven.aliyun.com/repository/gradle-plugin/org/jetbrains/dokka/dokka-core/1.5.0/dokka-core-1.5.0.jar
如果我gradlePluginPortal()
只使用:
repositories {
//maven {
// url "https://maven.aliyun.com/repository/gradle-plugin"
//}
gradlePluginPortal()
}
一切都好。
我知道那是因为maven
repo 没有dokka-core-1.5.0.jar
,但为什么不下载gradlePluginPortal
呢?