mirai 无法打包
-
idea: 2022.3.1
jdk: OpenJdk17
gradle: 8.0
kotlin-plugin: 223-1.8.0-release-345-AS8836.35.2231.10406996
branch:dev./gradlew publishMiraiArtifactsToMavenLocal "-Dmirai.build.project.version=2.99.0-local" "-Porg.gradle.parallel=false"
FAILURE: Build failed with an exception. * What went wrong: Task 'publishMiraiArtifactsToMavenLocal' not found in root project 'mirai' and its subprojects. * Try: > Run gradlew tasks to get a list of available tasks. > 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 Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. See https://docs.gradle.org/8.0/userguide/command_line_interface.html#sec:command_line_warnings BUILD FAILED in 2s 10 actionable tasks: 10 up-to-date
./gradlew --warning-mode all
> Configure project :mirai-console-compiler-annotations The TestReport.destinationDir property has been deprecated. This is scheduled to be removed in Gradle 9.0. Please use the destinationDirectory property instead. See https://docs.gradle.org/8.0/dsl/org.gradle.api.tasks.testing.TestReport.html#org.gradle.api.tasks.testing.TestReport:destinationDir for more details. at Build_gradle$1.execute(build.gradle.kts:24) (Run with --stacktrace to get the full stack trace of this deprecation warning.) The TestReport.reportOn(Object...) method has been deprecated. This is scheduled to be removed in Gradle 9.0. Please use the testResults method instead. See https://docs.gradle.org/8.0/dsl/org.gradle.api.tasks.testing.TestReport.html#org.gradle.api.tasks.testing.TestReport:testResults for more details. at Build_gradle$1.execute(build.gradle.kts:24) (Run with --stacktrace to get the full stack trace of this deprecation warning.) The Report.destination property has been deprecated. This is scheduled to be removed in Gradle 9.0. Please use the outputLocation property instead. See https://docs.gradle.org/8.0/dsl/org.gradle.api.reporting.Report.html#org.gradle.api.reporting.Report:destination for more details. at Build_gradle.<init>(build.gradle.kts:19) (Run with --stacktrace to get the full stack trace of this deprecation warning.) > Task :help Welcome to Gradle 8.0. To run a build, run gradlew <task> ... To see a list of available tasks, run gradlew tasks To see more detail about a task, run gradlew help --task <task> To see a list of command-line options, run gradlew --help For more detail on using Gradle, see https://docs.gradle.org/8.0/userguide/command_line_interface.html For troubleshooting, visit https://help.gradle.org BUILD SUCCESSFUL in 10s 11 actionable tasks: 1 executed, 10 up-to-date
-
Task 'publishMiraiArtifactsToMavenLocal' not found
不明白这个
publishMiraiArtifactsToMavenLocal
哪来的,mirai 仓库的 actions 工作流都是用publishToMavenLocal
-
@MrXiaoM 感觉也是没有更新文档