Please do not split topics across several threads.
This makes following the conversation in the threads view very hard as the context of the other messages is missing.
If you have additional information either edit the original message or post to its thread.
Regarding the problem, as both errors come from Guidewire code, you should probably ask the maintainer of whatever Gradle plugin it is you are using there. Maybe some bug in it, maybe some version incompatibility, ...