You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2014/12/31 05:01:06 UTC

[03/12] android commit: CB-8228 Gradle: Allow plugins to use Maven dependencies

CB-8228 Gradle: Allow plugins to use Maven dependencies


Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/480af264
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/480af264
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/480af264

Branch: refs/heads/4.0.x
Commit: 480af2644c77b7bfc600efceedb57eabc796fd0e
Parents: ecd2e06
Author: Andrew Grieve <ag...@chromium.org>
Authored: Tue Dec 30 22:57:53 2014 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Tue Dec 30 22:57:53 2014 -0500

----------------------------------------------------------------------
 bin/templates/project/build.gradle | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/480af264/bin/templates/project/build.gradle
----------------------------------------------------------------------
diff --git a/bin/templates/project/build.gradle b/bin/templates/project/build.gradle
index e147691..75000e4 100644
--- a/bin/templates/project/build.gradle
+++ b/bin/templates/project/build.gradle
@@ -50,6 +50,11 @@ buildscript {
     }
 }
 
+// Allow plugins to declare Maven dependencies via build-extras.gradle.
+repositories {
+    mavenCentral()
+}
+
 task wrapper(type: Wrapper) {
     gradleVersion = '2.2.1'
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org