eriwen/gradle-js-plugin — pull request #91 by a3rnett (2014-04-15 21:18:36+00:00)
Title: Eliminate plugin registration of mavenCentral, moving to tests that use ...

Resolves Issue #71 - Hidden dependency on mavenCentral() repo

Rather than explicitly add a reference to mavenCentral while configuring the plugin, allow the repositories configured in the root build script to define the repositories.

Where repositories need to be specified for tests, declare them directly in the tests instead. Ideally these could be defined based on the root plugin build script or parameterized. When developing for the js plugin itself, these mavenCentral references may need to be changed to reflect local repositories while running the tests if, for instance, another mirror needs to be used in your environment.