Skip to content

Commit

Permalink
Extract common version
Browse files Browse the repository at this point in the history
  • Loading branch information
jdelga committed Jan 19, 2024
1 parent 3f3275b commit 8878814
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.5.1'
implementation 'com.google.android.material:material:1.7.0'
implementation "androidx.compose.ui:ui:$compose_version"
implementation "androidx.compose.material:material:1.4.0"
implementation "androidx.compose.material:material:$compose_material_version"

Check warning

Code scanning / Android Lint

Obsolete Gradle Dependency Warning

A newer version of androidx.compose.material:material than 1.4.0 is available: 1.6.1
implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.1'
implementation 'androidx.activity:activity-compose:1.6.1'
Expand Down
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ buildscript {
compose_compiler_version = '1.4.2'
kotlin_version = '1.8.10'
compose_version = '1.3.2'
compose_material_version = '1.4.0'
dagger_version = "2.43.2"
}
repositories {
Expand Down
2 changes: 1 addition & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ dependencies {
enabledImplementation 'androidx.core:core-ktx:1.9.0'
enabledImplementation 'androidx.appcompat:appcompat:1.5.1'
enabledImplementation 'com.google.android.material:material:1.7.0'
enabledImplementation "androidx.compose.material:material:1.4.0"
enabledImplementation "androidx.compose.material:material:$compose_material_version"
enabledImplementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
enabledImplementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.1'
enabledImplementation 'androidx.activity:activity-compose:1.6.1'
Expand Down

0 comments on commit 8878814

Please sign in to comment.