Gradle 6.1 没有找到 com.moowork.gulp 插件

use*_*618 5 gradle build.gradle

从 Gradle 4.0 升级到 6.1,com.moowork.glup 插件似乎已经消失了。然而,https://plugins.gradle.org/plugin/com.moowork.gulp页面显示该插件确实存在。示例代码适用于注释掉的 com.moowork.gulp 行。

plugins {
    id 'java'
    id 'maven'
    id "com.moowork.gulp" version "1.3.0"
    id "nebula.ospackage" version "8.0.3"
}

task testAgain {
    println 'Configuration stage'

    doLast {
        println 'Execution stage'
    }
}
Run Code Online (Sandbox Code Playgroud)

一旦有问题的行被取消注释,Gradle 示例就会失败。

$ ./gradlew -q  testAgain

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'example'.
> Could not resolve all artifacts for configuration ':classpath'.
  > Could not find com.moowork.gradle:gradle-node-plugin:1.3.0.
    Searched in the following locations:
    - https://plugins.gradle.org/m2/com/moowork/gradle/gradle-node-plugin/1.3.0/gradle-node-plugin-1.3.0.pom
    If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
    Required by:
     project : > com.moowork.gulp:com.moowork.gulp.gradle.plugin:1.3.0
[...]

BUILD FAILED in 1s
Run Code Online (Sandbox Code Playgroud)

我错过了什么?