androidandroid-studiogradlegradle-dependencies

Create dependencies.gradle in android studio


How can I create dependencies.gradle in android studio like bellow:

enter image description here

And:

enter image description here


Solution

  • Create a file called dependencies.gradle and add the dependencies {} there ...then in a module's build.gradle, you can reference them with apply from: "dependencies.gradle". this screenshot are just library version numbers for the dependencies, which may be defined and then can be referenced in a dependencies.gradle; for example"${versions.okhttp}".

    And I don't really understand the question, because the project you've posted the screenshot from appears to be Android Studio, shows "How can I create dependencies.gradle in android studio like below".