2

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

enter image description here

And:

enter image description here

jo jo
  • 1,186
  • 2
  • 7
  • 24

1 Answers1

3

simply 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, clearly shows How can I create dependencies.gradle in android studio like below.

Martin Zeitler
  • 49,224
  • 12
  • 97
  • 156