File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 1515 */
1616buildscript {
1717 extra.apply {
18- set(" lifecycle_version" , " 2.6.2 " )
18+ set(" lifecycle_version" , " 2.8.7 " )
1919 }
2020}
2121
2222// Top-level build file where you can add configuration options common to all sub-projects/modules.
2323plugins {
24- id(" com.android.application" ) version " 8.1.3" apply false
25- id(" com.android.library" ) version " 8.1.3" apply false
26- id(" org.jetbrains.kotlin.android" ) version " 1.9.0" apply false
24+ id(" com.android.application" ) version " 8.7.3" apply false
25+ id(" com.android.library" ) version " 8.7.3" apply false
26+ id(" org.jetbrains.kotlin.android" ) version " 2.1.0" apply false
27+ id(" org.jetbrains.kotlin.plugin.compose" ) version " 2.1.0" apply false
2728}
Original file line number Diff line number Diff line change 1- # Tue Mar 14 09:38:20 PDT 2023
21distributionBase =GRADLE_USER_HOME
32distributionPath =wrapper/dists
4- distributionUrl =https\://services.gradle.org/distributions/gradle-8.2-bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
4+ networkTimeout =10000
5+ validateDistributionUrl =true
56zipStoreBase =GRADLE_USER_HOME
67zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments