Skip to content

Commit 70e49c4

Browse files
committed
Deps: Extract androidx compose versions to root build gradle
1 parent f6d9ce8 commit 70e49c4

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ ext {
7272

7373
ext {
7474
// mixed
75+
androidxComposeCompilerVersion = '1.5.14'
76+
androidxComposeLibraryVersion = '1.7.5'
77+
androidxComposeMaterialVersion = '1.3.1'
7578
gradlePluginVersion = '3.3.1'
7679
kotlinCoroutinesVersion = '1.8.1'
7780
tagSoupVersion = '1.2.1'

media-placeholders/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ android {
3636
compose true
3737
}
3838
composeOptions {
39-
kotlinCompilerExtensionVersion = "1.5.14"
39+
kotlinCompilerExtensionVersion = androidxComposeCompilerVersion
4040
}
4141
}
4242

@@ -47,10 +47,10 @@ dependencies {
4747
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinCoroutinesVersion"
4848
testImplementation "junit:junit:$jUnitVersion"
4949
testImplementation "org.robolectric:robolectric:$robolectricVersion"
50-
implementation 'androidx.compose.material3:material3:1.3.1'
51-
implementation 'androidx.compose.foundation:foundation:1.7.5'
52-
implementation 'androidx.compose.ui:ui:1.7.5'
53-
implementation 'androidx.compose.ui:ui-tooling-preview:1.7.5'
50+
implementation "androidx.compose.material3:material3:$androidxComposeMaterialVersion"
51+
implementation "androidx.compose.foundation:foundation:$androidxComposeLibraryVersion"
52+
implementation "androidx.compose.ui:ui:$androidxComposeLibraryVersion"
53+
implementation "androidx.compose.ui:ui-tooling-preview:$androidxComposeLibraryVersion"
5454
}
5555

5656
dependencyAnalysis {

0 commit comments

Comments
 (0)