Solved Plugin with id 'org.gradle.maven' not found
-
新工程 Gradle sync 时报错
JDK版本为1.8Build file 'F:\OneDrive\DDLC\OneDrive - dokidokiliteratureclub\Projects\Mirai Plugins\JudgementHaruka\build.gradle.kts' line: 1 An exception occurred applying plugin request [id: 'net.mamoe.mirai-console', version: '2.6.7'] > Failed to apply plugin 'net.mamoe.mirai-console'. > Plugin with id 'org.gradle.maven' not found. * 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.
-
好像是从2.7-M1开始才支持gradle 7.x https://github.com/mamoe/mirai/releases/tag/v2.7-M1
要么降级gradle
要么升级到2.7 -
@nambers 非常感谢