diff --git a/ComposePrefs/build.gradle b/ComposePrefs/build.gradle index 69a34e6..981f179 100644 --- a/ComposePrefs/build.gradle +++ b/ComposePrefs/build.gradle @@ -5,13 +5,13 @@ plugins { } android { - compileSdk 32 + compileSdk 33 defaultConfig { minSdk 21 - targetSdk 32 + targetSdk 33 versionCode 2 - versionName "1.0.5" + versionName "1.0.6" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles "consumer-rules.pro" @@ -29,19 +29,18 @@ android { } kotlinOptions { jvmTarget = '1.8' - useIR = true } buildFeatures { compose true } composeOptions { - kotlinCompilerExtensionVersion "1.2.0-beta03" + kotlinCompilerExtensionVersion "1.3.0" } } dependencies { - implementation "androidx.compose.ui:ui:1.2.0-beta03" - implementation "androidx.compose.material:material:1.2.0-beta03" + implementation "androidx.compose.ui:ui:1.3.0" + implementation "androidx.compose.material:material:1.3.0" implementation "androidx.datastore:datastore-preferences:1.0.0" } @@ -54,7 +53,7 @@ afterEvaluate { groupId = 'com.github.jamalmulla' artifactId = 'ComposePrefs' - version = '1.0.5' + version = '1.0.6' } } } diff --git a/app/build.gradle b/app/build.gradle index a6b7b05..87951c9 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -4,12 +4,12 @@ plugins { } android { - compileSdk 32 + compileSdk 33 defaultConfig { applicationId "com.jamal.composeprefssample" minSdk 23 - targetSdk 32 + targetSdk 33 versionCode 1 versionName "1.0" @@ -31,7 +31,6 @@ android { } kotlinOptions { jvmTarget = '1.8' - useIR = true } buildFeatures { compose true @@ -48,14 +47,14 @@ android { dependencies { - implementation 'androidx.core:core-ktx:1.8.0' - implementation 'androidx.appcompat:appcompat:1.4.2' - implementation 'com.google.android.material:material:1.6.1' + implementation 'androidx.core:core-ktx:1.9.0' + implementation 'androidx.appcompat:appcompat:1.5.1' + implementation 'com.google.android.material:material:1.7.0' implementation "androidx.compose.ui:ui:$compose_version" implementation "androidx.compose.material:material:$compose_version" implementation "androidx.compose.ui:ui-tooling-preview:$compose_version" - implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.4.1' - implementation 'androidx.activity:activity-compose:1.4.0' + implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.1' + implementation 'androidx.activity:activity-compose:1.6.1' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.3' diff --git a/build.gradle b/build.gradle index feea364..7d481ec 100644 --- a/build.gradle +++ b/build.gradle @@ -1,15 +1,15 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { ext { - compose_version = '1.2.0-beta03' + compose_version = '1.3.0' } repositories { google() mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:7.2.1' - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21" + classpath 'com.android.tools.build:gradle:7.2.2' + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10" // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files