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

Move dependencies to Gradle Version Catalog #299

Merged
merged 1 commit into from
Jan 11, 2024

Conversation

artemyto
Copy link
Contributor

@artemyto artemyto commented Jan 7, 2024

All dependency declarations moved to Gradle Version Catalog (using libs.versions.toml)

Benefits:

  • all dependencies, plugins, versions in one place - easy to manage
  • variables instead of string literals
  • autocompletion
  • standard way of declaring dependencies, so developers not familiar with the project can easily read dependencies
  • java version, compileSdk, buildToolsVersion, minSdk, targetSdk also moved to libs.versions.toml so you can easy change it in one place

Also done:

  • removed outdated androidx.lifecycle:lifecycle-extensions
  • added plugins block in root build.gradle
  • changed deprecated compileSdkVersion, minSdkVersion, targetSdkVersion to actual compileSdk, minSdk, targetSdk

@artemyto artemyto changed the title Move dependencies to Version Catalog Move dependencies to Gradle Version Catalog Jan 7, 2024
@srtvprateek srtvprateek merged commit 8ebb623 into androidPluto:develop Jan 11, 2024
6 checks passed
@artemyto artemyto deleted the libs_versions_toml branch January 12, 2024 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants