AGP 7.5 gradle assembleChannel 报错
What went wrong: Some problems were found with the configuration of task ':app:assembleChinaReleaseChannels' (type 'ChannelMaker').
In plugin 'walle' type 'com.meituan.android.walle.ChannelMaker' field 'targetProject' without corresponding getter has been annotated with @Input.
Reason: Annotations on fields are only used if there's a corresponding getter for the field.
Possible solutions:
- Add a getter for field 'targetProject'.
- Remove the annotations on 'targetProject'.
Please refer to https://docs.gradle.org/7.5/userguide/validation_problems.html#ignored_annotations_on_field for more details about this problem.
In plugin 'walle' type 'com.meituan.android.walle.ChannelMaker' field 'variant' without corresponding getter has been annotated with @Input.
Reason: Annotations on fields are only used if there's a corresponding getter for the field.
Possible solutions:
- Add a getter for field 'variant'.
- Remove the annotations on 'variant'.
Please refer to https://docs.gradle.org/7.5/userguide/validation_problems.html#ignored_annotations_on_field for more details about this problem.
Try:
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
BUILD FAILED in 32s
Source: Meituan-Dianping/walle