MiraiForum

    • 注册
    • 登录
    • 搜索
    • 热门
    • 最新
    • 未解决
    • 标签
    • 群组
    • 友情链接

    mirai 无法打包

    技术交流板块
    2
    3
    303
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • D
      dqfe123 最后由 编辑

      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
      
      
      1 条回复 最后回复 回复 引用 0
      • MrXiaoM
        MrXiaoM 童心未泯 最后由 MrXiaoM 编辑

        Task 'publishMiraiArtifactsToMavenLocal' not found
        

        不明白这个 publishMiraiArtifactsToMavenLocal 哪来的,mirai 仓库的 actions 工作流都是用 publishToMavenLocal

        D 1 条回复 最后回复 回复 引用 0
        • D
          dqfe123 @MrXiaoM 最后由 编辑

          @MrXiaoM 感觉也是没有更新文档

          1 条回复 最后回复 回复 引用 0
          • 1 / 1
          • First post
            Last post
          Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact