jsoncat
jsoncat copied to clipboard
Gradle跑不起来
请问一下这是什么问题啊,肝不动了 Plugin [id: 'com.github.spotbugs', version: '4.3.0'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'com.github.spotbugs:com.github.spotbugs.gradle.plugin:4.3.0') Searched in the following repositories: Gradle Central Plugin Repository
老哥 我在Mac试了没问题,Windows下可能会有一些小坑,但是把项目跑起来应该没问题。
你把 build.gradle
的我圈出来的这部分内容删除掉再启动项目试试。
请问一下这是什么问题啊,肝不动了 Plugin [id: 'com.github.spotbugs', version: '4.3.0'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'com.github.spotbugs:com.github.spotbugs.gradle.plugin:4.3.0') Searched in the following repositories: Gradle Central Plugin Repository
老哥 解决你的问题么?
呜呜呜,好像还是一样的,报错都一样,gradle也升级到了6.6.1的,build and run using,这也改了
apply from: rootProject.file("gradle/git-hooks.gradle") apply from: rootProject.file("gradle/checkstyle.gradle") apply from: rootProject.file("gradle/pmd.gradle") apply from: rootProject.file("gradle/spotbugs.gradle") 把这些从build.gradle移除掉,吧.git/hooks里面的东西 也都移除掉。
请问一下这是什么问题啊,肝不动了 Plugin [id: 'com.github.spotbugs', version: '4.3.0'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'com.github.spotbugs:com.github.spotbugs.gradle.plugin:4.3.0') Searched in the following repositories: Gradle Central Plugin Repository
我也遇到了一样的问题。去掉上面截图的部分也还是不行
请问一下这是什么问题啊,肝不动了 Plugin [id: 'com.github.spotbugs', version: '4.3.0'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'com.github.spotbugs:com.github.spotbugs.gradle.plugin:4.3.0') Searched in the following repositories: Gradle Central Plugin Repository
我也遇到了一样的问题。去掉上面截图的部分也还是不行
我已经把checkstyle之外的检查工具移除了,拉一下代码再看看呗!有问题的话,继续贴在这里就好。🤟