1717plugins {
1818 id(" com.android.application" )
1919 id(" org.jetbrains.kotlin.android" )
20+ id(" org.jetbrains.kotlin.plugin.compose" )
2021}
2122
2223android {
2324 namespace = " com.example.sports"
24- compileSdk = 34
25+ compileSdk = 35
2526
2627 defaultConfig {
2728 applicationId = " com.example.sports"
2829 minSdk = 24
29- targetSdk = 34
30+ targetSdk = 35
3031 versionCode = 1
3132 versionName = " 1.0"
3233
@@ -55,9 +56,6 @@ android {
5556 buildFeatures {
5657 compose = true
5758 }
58- composeOptions {
59- kotlinCompilerExtensionVersion = " 1.5.1"
60- }
6159 packaging {
6260 resources {
6361 excludes + = " /META-INF/{AL2.0,LGPL2.1}"
@@ -66,14 +64,14 @@ android {
6664}
6765
6866dependencies {
69- implementation(platform(" androidx.compose:compose-bom:2023.08 .00" ))
70- implementation(" androidx.activity:activity-compose:1.8.0 " )
67+ implementation(platform(" androidx.compose:compose-bom:2024.11 .00" ))
68+ implementation(" androidx.activity:activity-compose:1.9.3 " )
7169 implementation(" androidx.compose.material3:material3" )
7270 implementation(" androidx.compose.material3:material3-window-size-class" )
7371 implementation(" androidx.compose.ui:ui" )
7472 implementation(" androidx.compose.ui:ui-graphics" )
7573 implementation(" androidx.compose.ui:ui-tooling-preview" )
76- implementation(" androidx.core:core-ktx:1.12 .0" )
74+ implementation(" androidx.core:core-ktx:1.15 .0" )
7775 implementation(" androidx.lifecycle:lifecycle-runtime-ktx:${rootProject.extra[" lifecycle_version" ]} " )
7876 implementation(" androidx.lifecycle:lifecycle-viewmodel-compose:${rootProject.extra[" lifecycle_version" ]} " )
7977
0 commit comments