yangzidemuou 插件开发 安装文档初始化插件项目失败 gradlew pnpmInstall 报错 FAILURE: Build failed with an exception. What went wrong: A problem occurred configuring root project 'plugin-starter'. Could not resolve all files for configuration ':classpath'. Could not resolve com.github.node-gradle:gradle-node-plugin:5.0.0. Required by: project : > com.github.node-gradle.node:com.github.node-gradle.node.gradle.plugin:5.0.0 > Could not resolve com.github.node-gradle:gradle-node-plugin:5.0.0. > Could not get resource 'https://plugins.gradle.org/m2/com/github/node-gradle/gradle-node-plugin/5.0.0/gradle-node-plugin-5.0.0.pom'. > Could not GET 'https://plugins.gradle.org/m2/com/github/node-gradle/gradle-node-plugin/5.0.0/gradle-node-plugin-5.0.0.pom'. > Connect to plugins.gradle.org:443 [plugins.gradle.org/104.17.129.37, plugins.gradle.org/104.17.128.37] failed: Connection timed out: no further information Could not resolve io.freefair.gradle:lombok-plugin:8.0.1. Required by: project : > io.freefair.lombok:io.freefair.lombok.gradle.plugin:8.0.1 > Could not resolve io.freefair.gradle:lombok-plugin:8.0.1. > Could not get resource 'https://plugins.gradle.org/m2/io/freefair/gradle/lombok-plugin/8.0.1/lombok-plugin-8.0.1.module'. > Could not GET 'https://plugins-artifacts.gradle.org/io.freefair.gradle/lombok-plugin/8.0.1/c57b13c9a9f66ce7e53588515046f2d55739fdc5cc208db102b1b0b5ee00b33f/lombok-plugin-8.0.1.module'. > Read timed out Could not resolve run.halo.gradle:halo-gradle-plugin:0.0.7. Required by: project : > run.halo.plugin.devtools:run.halo.plugin.devtools.gradle.plugin:0.0.7 > Skipped due to earlier error Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. Get more help at https://help.gradle.org BUILD FAILED in 4m 6s
Ryan Wang 🚀 Connect to plugins.gradle.org:443 [plugins.gradle.org/104.17.129.37, plugins.gradle.org/104.17.128.37] failed: Connection timed out: no further information Could not resolve io.freefair.gradle:lombok-plugin:8.0.1. 看起来是因为网络问题,建议给 Idea 设置上 Proxy。