BOM and gradle update (#8)

This commit is contained in:
Android Dev
2025-11-12 00:00:00 +07:00
committed by GitHub
parent 2b72d6edb8
commit 0db4f3564c
4 changed files with 19 additions and 16 deletions

View File

@@ -19,12 +19,12 @@ plugins {
}
android {
compileSdk 32
compileSdk 33
defaultConfig {
applicationId "com.example.superheroes"
minSdk 21
targetSdk 32
targetSdk 33
versionCode 1
versionName "1.0"
@@ -57,13 +57,17 @@ android {
excludes += '/META-INF/{AL2.0,LGPL2.1}'
}
}
namespace 'com.example.superheroes'
}
dependencies {
implementation 'androidx.activity:activity-compose:1.4.0'
implementation "androidx.compose.material:material:$compose_version"
implementation "androidx.compose.ui:ui:$compose_version"
implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
implementation 'androidx.core:core-ktx:1.8.0'
debugImplementation "androidx.compose.ui:ui-tooling:$compose_version"
// Import the Compose BOM
implementation platform('androidx.compose:compose-bom:2023.01.00')
implementation 'androidx.activity:activity-compose:1.6.1'
implementation "androidx.compose.material:material"
implementation "androidx.compose.ui:ui"
implementation "androidx.compose.ui:ui-tooling-preview"
implementation 'androidx.core:core-ktx:1.9.0'
debugImplementation "androidx.compose.ui:ui-tooling"
}