Skip to content

Commit

Permalink
[D83T-14] Jetpack Compose Lifecycle 및 DataStore 의존성 추가
Browse files Browse the repository at this point in the history
Jetpack Compose Lifecycle 의존성 추가를 위한 선행 작업으로 Kotlin 버전 및 Compose Compiler 버전을 갱신하였습니다.
  • Loading branch information
jangjh123 committed Feb 13, 2023
1 parent 5f47b4f commit 8112b36
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 7 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ buildscript {
plugins {
id 'com.android.application' version '7.4.0' apply false
id 'com.android.library' version '7.4.0' apply false
id 'org.jetbrains.kotlin.android' version '1.7.21' apply false
id 'org.jetbrains.kotlin.jvm' version '1.7.21' apply false
id 'org.jetbrains.kotlin.android' version '1.8.10' apply false
id 'org.jetbrains.kotlin.jvm' version '1.8.10' apply false
id 'com.google.dagger.hilt.android' version '2.44' apply false
}

Expand Down
7 changes: 6 additions & 1 deletion data/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ dependencies {
implementation project(path: ':domain')

//kotlin
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.7.21"
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.8.10"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4"

Expand All @@ -58,6 +58,11 @@ dependencies {
implementation "com.google.dagger:hilt-android:${hilt_version}"
kapt "com.google.dagger:hilt-android-compiler:${hilt_version}"

//data store
def data_store_version = "1.0.0"
implementation "androidx.datastore:datastore-preferences:${data_store_version}"
implementation "androidx.datastore:datastore-preferences-core:${data_store_version}"

//retrofit
def RETROFIT = "2.9.0"
implementation "com.squareup.retrofit2:retrofit:${RETROFIT}"
Expand Down
2 changes: 1 addition & 1 deletion domain/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ android {
dependencies {

//kotlin
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.7.21"
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.8.10"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4"

Expand Down
14 changes: 11 additions & 3 deletions presentation/build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
id 'kotlin-kapt'
id 'kotlin-parcelize'
id 'dagger.hilt.android.plugin'
id 'com.google.android.gms.oss-licenses-plugin'
id 'kotlin-kapt'
}

android {
Expand Down Expand Up @@ -42,7 +42,7 @@ android {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion "1.4.0-alpha02"
kotlinCompilerExtensionVersion "1.4.2"
}

compileOptions {
Expand Down Expand Up @@ -70,7 +70,7 @@ dependencies {
implementation project(path: ':domain')

//kotlin
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.7.21"
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.8.10"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4"

Expand Down Expand Up @@ -120,6 +120,14 @@ dependencies {
implementation "com.google.accompanist:accompanist-insets:$insets_version"
implementation "com.google.accompanist:accompanist-insets-ui:$insets_version"

//compose lifecycle
implementation "androidx.lifecycle:lifecycle-runtime-compose:2.6.0-beta01"

//data store
def data_store_version = "1.0.0"
implementation "androidx.datastore:datastore-preferences:${data_store_version}"
implementation "androidx.datastore:datastore-preferences-core:${data_store_version}"

//material
implementation "com.google.android.material:material:1.8.0"

Expand Down

0 comments on commit 8112b36

Please sign in to comment.