关注我,让你成为思维高手和技术高手:
gradle build遇到以下情况,别研究了,直接升级gradle版本:
我之前用的pegasus版本是 29.19.2
升级为 29.22.16 就好了!
> Task :api:generateDataTemplate FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Some problems were found with the configuration of task ':api:generateDataTemplate' (type 'GenerateDataTemplateTask').
- In plugin 'pegasus' type 'com.linkedin.pegasus.gradle.tasks.GenerateDataTemplateTask' method 'generateFieldMask()' should not be annotated with: @Input.
Reason: Input/Output annotations are ignored if they are placed on something else than a getter.
Possible solutions:
1. Remove the annotations.
2. Rename the method.
&n