Updating Compose Version (#186)

This commit is contained in:
Aparna Vadlamani
2023-09-22 17:53:21 +05:30
committed by GitHub
parent 6ddfafa726
commit c168e7ec0a
3 changed files with 13 additions and 11 deletions

View File

@@ -3,11 +3,12 @@ plugins {
id 'org.jetbrains.kotlin.android'
id 'kotlin-kapt'
id 'com.google.dagger.hilt.android'
id 'com.google.devtools.ksp'
}
android {
namespace 'com.uitron.demo'
compileSdk 33
compileSdk 34
defaultConfig {
applicationId "com.uitron.demo"
@@ -54,7 +55,7 @@ android {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion '1.4.3'
kotlinCompilerExtensionVersion '1.5.3'
}
packagingOptions {
resources {
@@ -64,7 +65,7 @@ android {
}
dependencies {
implementation platform("androidx.compose:compose-bom:2023.06.01")
implementation platform("androidx.compose:compose-bom:2023.09.01")
implementation project(':navi-uitron')
implementation 'androidx.appcompat:appcompat:1.6.1'
@@ -100,13 +101,13 @@ dependencies {
//Room
def room_version = "2.5.2"
implementation "androidx.room:room-runtime:$room_version"
kapt "androidx.room:room-compiler:$room_version"
ksp "androidx.room:room-compiler:$room_version"
implementation "androidx.room:room-ktx:$room_version"
implementation "androidx.room:room-paging:$room_version"
// Hilt
implementation 'com.google.dagger:hilt-android:2.44'
implementation 'com.google.dagger:hilt-android:2.48'
kapt 'androidx.hilt:hilt-compiler:1.0.0'
kapt 'com.google.dagger:hilt-android-compiler:2.44'
kapt 'com.google.dagger:hilt-android-compiler:2.48'
implementation "androidx.hilt:hilt-navigation-compose:1.0.0"
}

View File

@@ -7,7 +7,8 @@ buildscript {
plugins {
id 'com.android.application' version '8.1.0' apply false
id 'com.android.library' version '8.1.0' apply false
id 'org.jetbrains.kotlin.android' version '1.8.10' apply false
id 'org.jetbrains.kotlin.android' version '1.9.10' apply false
id 'com.android.test' version '8.1.0' apply false
id 'com.google.dagger.hilt.android' version '2.44' apply false
id 'com.google.dagger.hilt.android' version '2.48' apply false
id 'com.google.devtools.ksp' version '1.9.10-1.0.13' apply false
}

View File

@@ -9,7 +9,7 @@ def VERSION_NAME = "1.0.23"
android {
namespace 'com.navi.uitron'
compileSdk 33
compileSdk 34
defaultConfig {
minSdk 21
@@ -36,7 +36,7 @@ android {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion '1.4.3'
kotlinCompilerExtensionVersion '1.5.3'
}
}
@@ -81,7 +81,7 @@ publishing {
}
dependencies {
implementation platform("androidx.compose:compose-bom:2023.06.01")
implementation platform("androidx.compose:compose-bom:2023.09.01")
implementation "androidx.compose.ui:ui"
implementation "androidx.compose.material:material"