Resolves gradle issues with provided dependencies.