I've been experiencing an issue with the @Field
Groovy annotation isn't working when I upgrade from Gradle 4 to Gradle 5.
The error is:
Cannot get the value of write-only property '<varname>' for script of type <typename>
A very in depth description of the issue has been posted here: https://discuss.gradle.org/t/gradle-5-0-field-variable-visibility-issue/
If there is a known issue please provide a link. Otherwise any ideas for how to fix this would be greatly appreciated.