Skip to content

Commit fc5f02a

Browse files
authored
Merge branch 'master' into feature/image-snippets
2 parents 7e2cd61 + 2f5fab1 commit fc5f02a

File tree

3 files changed

+19
-14
lines changed

3 files changed

+19
-14
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
buildscript {
44
ext {
5-
compose_version = '1.3.1'
6-
kotlin_version = '1.7.10'
5+
compose_compiler_version = '1.3.2'
6+
kotlin_version = '1.7.20'
77
}
88
repositories {
99
google()

compose/recomposehighlighter/build.gradle

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ plugins {
44
}
55

66
android {
7-
compileSdkVersion 31
7+
compileSdkVersion 33
88
buildToolsVersion "30.0.2"
99

1010
defaultConfig {
1111
applicationId "com.example.android.compose.recomposehighlighter"
1212
minSdkVersion 21
13-
targetSdkVersion 31
13+
targetSdkVersion 33
1414
versionCode 1
1515
versionName "1.0"
1616

@@ -35,18 +35,21 @@ android {
3535
jvmTarget = '1.8'
3636
}
3737
composeOptions {
38-
kotlinCompilerExtensionVersion compose_version
38+
kotlinCompilerExtensionVersion compose_compiler_version
3939
}
4040

4141
}
4242

4343
dependencies {
44+
def composeBom = platform('androidx.compose:compose-bom:2022.11.00')
45+
implementation(composeBom)
46+
4447
implementation 'androidx.core:core-ktx:1.3.2'
4548
implementation 'androidx.activity:activity-compose:1.4.0'
4649
implementation 'com.google.android.material:material:1.3.0'
47-
implementation "androidx.compose.ui:ui:$compose_version"
48-
implementation "androidx.compose.ui:ui-util:$compose_version"
49-
implementation "androidx.compose.material:material:$compose_version"
50+
implementation "androidx.compose.ui:ui"
51+
implementation "androidx.compose.ui:ui-util"
52+
implementation "androidx.compose.material:material"
5053
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.3.0'
5154
testImplementation 'junit:junit:4.+'
5255
androidTestImplementation 'androidx.test.ext:junit:1.1.1'

compose/snippets/build.gradle

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ android {
3737
compose true
3838
}
3939
composeOptions {
40-
kotlinCompilerExtensionVersion '1.3.0'
40+
kotlinCompilerExtensionVersion compose_compiler_version
4141
}
4242
packagingOptions {
4343
resources {
@@ -47,17 +47,19 @@ android {
4747
}
4848

4949
dependencies {
50+
def composeBom = platform('androidx.compose:compose-bom:2022.11.00')
51+
implementation(composeBom)
5052
implementation("io.coil-kt:coil-compose:2.2.2")
5153
implementation 'androidx.core:core-ktx:1.9.0'
5254
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.1'
5355
implementation 'androidx.activity:activity-compose:1.6.1'
54-
implementation "androidx.compose.ui:ui:$compose_version"
55-
implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
56+
implementation "androidx.compose.ui:ui"
57+
implementation "androidx.compose.ui:ui-tooling-preview"
5658
implementation 'androidx.compose.material3:material3:1.0.1'
5759
testImplementation 'junit:junit:4.13.2'
5860
androidTestImplementation 'androidx.test.ext:junit:1.1.4'
5961
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0'
60-
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version"
61-
debugImplementation "androidx.compose.ui:ui-tooling:$compose_version"
62-
debugImplementation "androidx.compose.ui:ui-test-manifest:$compose_version"
62+
androidTestImplementation "androidx.compose.ui:ui-test-junit4"
63+
debugImplementation "androidx.compose.ui:ui-tooling"
64+
debugImplementation "androidx.compose.ui:ui-test-manifest"
6365
}

0 commit comments

Comments
 (0)