Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate dependency updates in Gradle projects with Dependabot #302

Open
2 tasks
luongvo opened this issue Sep 7, 2022 · 2 comments
Open
2 tasks

Automate dependency updates in Gradle projects with Dependabot #302

luongvo opened this issue Sep 7, 2022 · 2 comments

Comments

@luongvo
Copy link
Member

luongvo commented Sep 7, 2022

Issue

Our template is enabling Dependabot, but it's being used only to report Ruby dependency https://github.com/nimblehq/android-templates/pulls?q=is%3Apr+Dependabot. There is no config to report for Android project dependency updates yet.

Solution

We now can apply to use Dependabot to automate dependency updates in Gradle projects (Android) 🎉 . There is a nice article about this: https://proandroiddev.com/automate-dependency-updates-in-gradle-projects-with-dependabot-8f0092a89de9.

There were some issues with Dependabot before. However it's now 2022, they are resolved and released so the bot is ready to use in Android project:

Who Benefits?

Developers

What's Next?

  • Update to use corresponding Dependabot app.
  • Add dependabot.yml to report dependency updates for Android project.
@toby-thanathip
Copy link
Contributor

@luongvo I like the idea, but I'm not sure if this will be feasible as we specify the versions in a separate file (Versions.kt)

Reference: dependabot/dependabot-core#2238 (comment)

@toby-thanathip toby-thanathip changed the title RFC: Automate dependency updates in Gradle projects with Dependabot Automate dependency updates in Gradle projects with Dependabot Oct 3, 2022
@luongvo
Copy link
Member Author

luongvo commented Oct 3, 2022

@Tuubz I think we could keep this initiative in 2 steps:

  • Experiment with new Dependabot to automate dependency updates in Gradle projects.
  • Apply to use Dependabot to automate dependency updates in Gradle projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants