-P properties not applied to snippets in respository.gradle files

If repositories in a Gradle project are configured with configuration in repositories.gradle that expects the properties to be filled in at runtime via -P flags, then Gradle silently fails to pass these along.

Workaround: Move all repository configuration from a separate repositories.gradle file into the main build.gradle file.

Gradle Version: 2.7
Operating System: Mac OS X 10.11 El Capitan