4

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

enter image description here

And:

enter image description here

jo jo
  • 1,758
  • 3
  • 20
  • 34

1 Answers1

5

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".

Martin Zeitler
  • 1
  • 19
  • 155
  • 216