Giter Club home page Giter Club logo

Comments (9)

vkkhare avatar vkkhare commented on September 27, 2024 1

sure @IamRavikantSingh. Let me know if you have some doubts!
Basically all the gradle dependencies have a version attached with them. You need to create a gradle properties file that just specifies the version for the libraries. Read the values from there in the build.gradle.

from kotlinsyft.

mccorby avatar mccorby commented on September 27, 2024 1

We could actually put the versions in a Kotlin file.

from kotlinsyft.

mccorby avatar mccorby commented on September 27, 2024 1

https://github.com/OpenMined/AndroidWorker/blob/dev/buildSrc/src/main/java/Dependencies.kt

from kotlinsyft.

rav1kantsingh avatar rav1kantsingh commented on September 27, 2024

I would like to work on this issue.
Please give some extra information about the issue.

from kotlinsyft.

rav1kantsingh avatar rav1kantsingh commented on September 27, 2024

should I use the already existing gradle.properties file or create a new file. if new file what should I name it?

from kotlinsyft.

vkkhare avatar vkkhare commented on September 27, 2024

you should create a new properties file named dependencyVersions.properties. Also, make sure you have a common variable for dependencies that require the same version

from kotlinsyft.

vkkhare avatar vkkhare commented on September 27, 2024

There is a better way to use dependency.gradle This way we can also organize dependencies into clusters.

So I would recommend you segregate the dependencies into clusters and have their versions defined as variables. If we need we can move the version variables into new file.

from kotlinsyft.

rav1kantsingh avatar rav1kantsingh commented on September 27, 2024

This issue can be closed now.

from kotlinsyft.

vkkhare avatar vkkhare commented on September 27, 2024

#49 closes this

from kotlinsyft.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.