Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Speed up build configuration time by lazily verifying apollo-cod…
…egen installation Move Apollo global verification to the beginning of the task to speed up configuration process. Before, this I/O operation (version check) would run in configuration time and take up to 5sec. This runs in every Gradle execution (even when unrelated to Apollo) This commit fixes apollographql#1203 and moves verification to a later stage. This means that we cannot easily fall-back to local installation that easily. That's why an exception is thrown with an appropriate message. User should disable using this feature if they don't have global installation.
- Loading branch information