diff --git a/app/build.gradle b/app/build.gradle index b95c4b4a..3248289d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -33,17 +33,17 @@ android { } } compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 } kotlinOptions { - jvmTarget = '1.8' + jvmTarget = '17' } buildFeatures { compose true } composeOptions { - kotlinCompilerExtensionVersion '1.2.0' + kotlinCompilerExtensionVersion '1.4.2' } packagingOptions { resources { @@ -64,7 +64,7 @@ dependencies { implementation 'androidx.activity:activity-compose:1.6.1' implementation "androidx.compose.ui:ui:$compose_version" implementation "androidx.compose.ui:ui-tooling-preview:$compose_version" - implementation 'androidx.compose.material3:material3:1.1.0-alpha04' + implementation 'androidx.compose.material3:material3:1.1.0-alpha07' implementation 'androidx.compose.material:material-icons-extended:1.3.1' // VCard diff --git a/app/src/main/java/com/bnyro/contacts/ui/components/editor/DatePickerEditor.kt b/app/src/main/java/com/bnyro/contacts/ui/components/editor/DatePickerEditor.kt index 030410d2..b32f4be2 100644 --- a/app/src/main/java/com/bnyro/contacts/ui/components/editor/DatePickerEditor.kt +++ b/app/src/main/java/com/bnyro/contacts/ui/components/editor/DatePickerEditor.kt @@ -109,7 +109,7 @@ fun DatePickerEditor( }, text = { DatePicker( - datePickerState = datePickerState, + state = datePickerState, title = {} ) } diff --git a/build.gradle b/build.gradle index 73a52dbd..3e4f6d20 100644 --- a/build.gradle +++ b/build.gradle @@ -1,10 +1,10 @@ buildscript { ext { - compose_version = '1.3.3' + compose_version = '1.4.0-beta02' } }// Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { id 'com.android.application' version '7.4.1' apply false id 'com.android.library' version '7.4.1' apply false - id 'org.jetbrains.kotlin.android' version '1.7.0' apply false + id 'org.jetbrains.kotlin.android' version '1.8.10' apply false } \ No newline at end of file