Centralize dependency versions using constants across multiple build.gradle files #3093
Labels
catch-all acknowledged
Marks issues caught in catch-all triage for searchability
maintenance
Improves code quality, but not the product
Is your feature request related to a problem?
Currently, our project consists of several subprojects, each with its own
build.gradle
file. Many of these subprojects share common dependencies, and it's crucial that the versions of these shared dependencies remain consistent across all subprojects.Current situation:
build.gradle
file.build.gradle
files. Examples:What solution would you like?
Create a single source of truth for dependency versions in the root
build.gradle
, defining constants for each shared dependency version. Reference these constants in all subprojectbuild.gradle
files instead of using string literals.The text was updated successfully, but these errors were encountered: