1- apply plugin : ' com.android.application'
2- apply plugin : ' kotlin-android'
3- apply plugin : ' kotlin-kapt'
1+ plugins {
2+ id ' com.android.application'
3+ id ' org.jetbrains.kotlin.android'
4+ id ' org.jetbrains.kotlin.plugin.serialization' version " $kotlin_version "
5+ }
46
57android {
6- compileSdkVersion 33
7- buildToolsVersion ' 30.0.3 '
8+ namespace ' es.hegocre.scorecounter '
9+ compileSdk 34
810
911 defaultConfig {
1012 applicationId " es.hegocre.scorecounter"
11- minSdkVersion 24
12- targetSdkVersion 33
13- versionCode 331200000
14- versionName " 1.2 .0"
13+ minSdk 24
14+ targetSdk 34
15+ versionCode 341400000
16+ versionName " 1.4 .0"
1517 resConfigs ' ca' , ' es' , ' en'
1618 }
1719
1820 buildTypes {
1921 release {
2022 shrinkResources true
2123 minifyEnabled true
22- zipAlignEnabled true
2324 proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
2425 }
2526 }
@@ -29,35 +30,36 @@ android {
2930 }
3031
3132 compileOptions {
32- sourceCompatibility JavaVersion . VERSION_11
33- targetCompatibility JavaVersion . VERSION_11
33+ sourceCompatibility JavaVersion . VERSION_17
34+ targetCompatibility JavaVersion . VERSION_17
3435 }
3536
3637 composeOptions {
37- kotlinCompilerExtensionVersion ' 1.4.1 '
38+ kotlinCompilerExtensionVersion ' 1.5.3 '
3839 }
3940
4041 kotlinOptions {
41- jvmTarget = ' 11 '
42+ jvmTarget = ' 17 '
4243 }
43- namespace ' es.hegocre.scorecounter'
4444}
4545
4646dependencies {
4747 implementation fileTree(include : [' *.jar' ], dir : ' libs' )
4848
4949 // Android dependencies
50- implementation ' androidx.core:core-ktx:1.9 .0'
50+ implementation ' androidx.core:core-ktx:1.12 .0'
5151
5252 // Compose
53- implementation platform(' androidx.compose:compose-bom:2023.04 .00' )
53+ implementation platform(' androidx.compose:compose-bom:2023.09 .00' )
5454 implementation ' androidx.compose.material3:material3'
5555 implementation ' androidx.compose.ui:ui'
5656
57- implementation ' androidx.activity:activity-compose:1.7.0'
57+ implementation ' androidx.activity:activity-compose:1.7.2'
58+
59+ implementation ' org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0'
5860
5961 testImplementation ' junit:junit:4.13.2'
60- androidTestImplementation " androidx.compose.ui:ui-test-junit4"
62+ androidTestImplementation " androidx.compose.ui:ui-test-junit4:1.5.1 "
6163 debugImplementation ' androidx.compose.ui:ui-tooling'
6264 debugImplementation ' androidx.compose.ui:ui-test-manifest'
6365}
0 commit comments