When I Checkin Cuba Code in TFS(Team Foundation Server)

I Checkin Cuba Code In TFS and take CheckOut code from TFS. I get below error

FAILURE: Build failed with an exception.

* What went wrong:
Could not create service of type ScriptPluginFactory using BuildScopeServices.createScriptPluginFactory().
> Could not create service of type FileHasher using BuildSessionScopeServices.createFileSnapshotter().

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

[17:56:56.637] Task 'assemble' failed
java.io.FileNotFoundException: D:\Vee_worklog\.gradle\4.3.1\fileHashes\fileHashes.lock (Access is denied)