繁体   English   中英

基本类型为“布尔”的@Input 属性不能为@Optional

[英]@Input properties with primitive type 'boolean' cannot be @Optional

使用 gradle 构建时出现以下错误消息。 你有想法吗? 谢谢

Property 'showProgress' @Input properties with primitive type 'boolean' cannot be @Optional. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0. See https://docs.gradle.org/6.2.2/userguide/more_about_tasks.html#sec:up_to_date_checks for more details.

gradle:6.2.2 斑点:2.0.0

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM