<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[mirai 无法打包]]></title><description><![CDATA[<p dir="auto">idea: 2022.3.1<br />
jdk: OpenJdk17<br />
gradle: 8.0<br />
kotlin-plugin: 223-1.8.0-release-345-AS8836.35.2231.10406996<br />
branch：dev</p>
<pre><code class="language-shell">./gradlew publishMiraiArtifactsToMavenLocal "-Dmirai.build.project.version=2.99.0-local" "-Porg.gradle.parallel=false"
</code></pre>
<pre><code>FAILURE: Build failed with an exception.

* What went wrong:
Task 'publishMiraiArtifactsToMavenLocal' not found in root project 'mirai' and its subprojects.

* Try:
&gt; Run gradlew tasks to get a list of available tasks.
&gt; Run with --stacktrace option to get the stack trace.
&gt; Run with --info or --debug option to get more log output.
&gt; 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
</code></pre>
<pre><code class="language-shell">./gradlew --warning-mode all
</code></pre>
<pre><code>&gt; 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.&lt;init&gt;(build.gradle.kts:19)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)

&gt; Task :help

Welcome to Gradle 8.0.

To run a build, run gradlew &lt;task&gt; ...

To see a list of available tasks, run gradlew tasks

To see more detail about a task, run gradlew help --task &lt;task&gt;

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

</code></pre>
]]></description><link>https://mirai.mamoe.net/topic/2464/mirai-无法打包</link><generator>RSS for Node</generator><lastBuildDate>Tue, 10 Mar 2026 02:52:47 GMT</lastBuildDate><atom:link href="https://mirai.mamoe.net/topic/2464.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 25 Aug 2023 01:48:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to mirai 无法打包 on Sat, 26 Aug 2023 05:21:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://mirai.mamoe.net/uid/329">@MrXiaoM</a> 感觉也是没有更新文档</p>
]]></description><link>https://mirai.mamoe.net/post/25904</link><guid isPermaLink="true">https://mirai.mamoe.net/post/25904</guid><dc:creator><![CDATA[dqfe123]]></dc:creator><pubDate>Sat, 26 Aug 2023 05:21:14 GMT</pubDate></item><item><title><![CDATA[Reply to mirai 无法打包 on Fri, 25 Aug 2023 11:53:53 GMT]]></title><description><![CDATA[<pre><code>Task 'publishMiraiArtifactsToMavenLocal' not found
</code></pre>
<p dir="auto">不明白这个 <code>publishMiraiArtifactsToMavenLocal</code> 哪来的，mirai 仓库的 actions 工作流都是用 <code>publishToMavenLocal</code></p>
]]></description><link>https://mirai.mamoe.net/post/25900</link><guid isPermaLink="true">https://mirai.mamoe.net/post/25900</guid><dc:creator><![CDATA[MrXiaoM]]></dc:creator><pubDate>Fri, 25 Aug 2023 11:53:53 GMT</pubDate></item></channel></rss>