Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 535
jo jo Avatar asked Sep 12 '25 17:09

jo jo


1 Answers

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

like image 166
Martin Zeitler Avatar answered Sep 15 '25 07:09

Martin Zeitler