带有Gradle7的AppDistributionGradle插件

我正在使用 Android Gradle 插件版本7.0.0-alpha14和 Gradle 版本7.0,当我尝试通过 Gradle 插件版本将应用程序上传到应用程序分发时,2.1.0它在任务失败app:appDistributionUploadDebug并出现错误

> Task :app:appDistributionUploadDebug FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Some problems were found with the configuration of task ':app:appDistributionUploadDebug' (type 'UploadDistributionTask').
  - Type 'UploadDistributionTask' property 'COMMAND_LINE_PREFIX' is missing an input or output annotation.
    
    Reason: A property without annotation isn't considered during up-to-date checking.
    
    Possible solutions:
      1. Add an input or output annotation.
      2. Mark it as @Internal.
    
    Please refer to https://docs.gradle.org/7.0/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - Type 'UploadDistributionTask' property 'appDistributionProperties' is missing an input or output annotation.
    
    Reason: A property without annotation isn't considered during up-to-date checking.
    
    Possible solutions:
      1. Add an input or output annotation.
      2. Mark it as @Internal.
    
    Please refer to https://docs.gradle.org/7.0/userguide/validation_problems.html#missing_annotation for more details about this problem.

我想该插件与 Gradle 7 不兼容,但它是一个已知问题吗?是否有一些解决方法?谢谢

以上是带有Gradle7的AppDistributionGradle插件的全部内容。
THE END
分享
二维码
< <上一篇
下一篇>>