Fixed an issue with resolving pub packages when using pub packages from git source using a custom path.
The error message received:
Cannot open file, path = ' [ ... ] /.pub-cache/git/ [ ... ] /.git/pub-packages' (OS Error: No such file or directory, errno = 2)
A package affected would be referenced in the dependant pubspec.yaml similarly to:
sample_package:
git:
url: <URL>
path: mypath
ref: <commit_hash>
Added new input Build cache (cache_level) to allow disabling build cache, which includes pub packages, gradle cache and Cocoapods/Carthage dependencies.