Plugin with id 'maven' not found
引入maven插件出问题了,总是报错找不到maven插件。
Caused by: org.gradle.api.plugins.UnknownPluginException: Plugin with id ‘maven’ not found.
原因分析:
这是关于该问题的讨论文章。就是说Gradle 7.版本将maven插件移除了,见官方说明
Removal of the legacy maven plugin
The maven plugin has been removed. You should use the maven-publish plugin instead.
Please refer to the documentation of the Maven Publish plugin for more details.

浙公网安备 33010602011771号