I am using the latest version of gradle (1.12). In the project root directory, I run the following command, which, as described in this @CommonsWare answer , should contain a dependency tree:
When I run it, this happens:
$ gradle -q dependencies
The project in question is an Android gradle project created from scratch using the new project wizard built into Android Studio. My top level build.gradle file is as follows:
buildscript { repositories { mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:0.10.+' } } allprojects { repositories { maven { url "http://dl.bintray.com/populov/maven" } mavenCentral() } } subprojects { repositories { flatDir { dirs "$rootDir/libs" } } }
And my settings.gradle file looks like this:
include ':app', ':facebook', 'pullToRefresh'
From what I understand, this is a very simple gradle configuration. Does anyone have an idea why the tree of the dependency tree returns nothing? Let me know if I need to provide more information.
android android gradle
JMRboosties Jun 03 '14 at 23:01 2014-06-03 23:01
source share