jo jo
jo jo

Reputation: 1838

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

Upvotes: 4

Views: 2140

Answers (1)

Martin Zeitler
Martin Zeitler

Reputation: 76859

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

Upvotes: 5

Related Questions