Which third-party dependencies are declared in the build.gradle of this Android Studio project?

假装没事ソ 提交于 2019-12-11 04:36:57

问题


I want to convert this Android Studio project into an Eclipse project.

The way to do it is to copy everything in all src packages and res directory from AS project to Eclipse project, and change the Eclipse project's Manifest file by adding all the additional elements from AS project.

The catch is that I have to do this for all the third party dependencies (declared in build.gradle) on which the AS project depends and then add those library projects to this newly created Eclipse project.

Normally I would do it for each library listed in the dependencies section of build.gradle file of AS project. But for this library project, I don't understand what are the dependencies:

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:appcompat-v7:22.1.1'
    apply from: 'https://raw.github.com/chrisbanes/gradle-mvn-push/master/gradle-mvn-push.gradle'
}

I don't understand the first and third line. Please tell me which libraries are declared in first and third line, so that I can copy those projects in Eclipse?


EDIT:

Here is the output of gradlew.bat -q dependencies command:


EDIT 1:


EDIT 2:


回答1:


For each project module, do the following from the command line:

./gradlew -q dependencies

This will print out a graph of all dependencies the module has.



来源:https://stackoverflow.com/questions/38477849/which-third-party-dependencies-are-declared-in-the-build-gradle-of-this-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!