Fix resolutionStrategy to be global.

Testing Done:
./gradlew -Pq build

Reviewed at https://reviews.apache.org/r/28460/