F
F
FoxInSox2013-12-11 17:28:49
Android
FoxInSox, 2013-12-11 17:28:49

Is it possible, without setting up dependencies in Intellij, to make it clear to the development environment that dependencies are taken from Gradle scripts?

There is an Android project that builds beautifully using Gradle scripts that have dependencies for many libraries:

dependencies {
  compile 'com.google.android.gms:play-services:4.0.30'
  compile 'com.android.support:support-v13:19.0.0'
  ...

Is it possible, without setting up dependencies in Intellij, to make it clear to the development environment that dependencies are taken from Gradle scripts?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2014-06-07
@zolt85

As I see it, there is a Gradle tab on the toolbar.
If you open it and add your build.gradle file there, then IDEA will automatically add all dependencies from gradle to the project dependencies. And it will be like this:
51d0bcd61a974b3987263a39827c2235.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question