Skip to content

Commit

Permalink
#7 Set lifecycle dependency add
Browse files Browse the repository at this point in the history
  • Loading branch information
Heonbyeong committed Jul 12, 2022
1 parent c2b4d16 commit 15948da
Show file tree
Hide file tree
Showing 43 changed files with 10 additions and 1 deletion.
Binary file modified buildSrc/build/classes/kotlin/main/Dependency$AndroidTest.class
Binary file not shown.
Binary file modified buildSrc/build/classes/kotlin/main/Dependency$AndroidX.class
Binary file not shown.
Binary file modified buildSrc/build/classes/kotlin/main/Dependency$Google.class
Binary file not shown.
Binary file modified buildSrc/build/classes/kotlin/main/Dependency$Kotlin.class
Binary file not shown.
Binary file modified buildSrc/build/classes/kotlin/main/Dependency$Library.class
Binary file not shown.
Binary file modified buildSrc/build/classes/kotlin/main/Dependency$Naver.class
Binary file not shown.
Binary file modified buildSrc/build/classes/kotlin/main/Dependency$UnitTest.class
Binary file not shown.
Binary file modified buildSrc/build/classes/kotlin/main/Versions.class
Binary file not shown.
Binary file modified buildSrc/build/kotlin/compileKotlin/build-history.bin
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
3
5
0
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified buildSrc/build/kotlin/compileKotlin/last-build.bin
Binary file not shown.
Binary file modified buildSrc/build/libs/buildSrc.jar
Binary file not shown.
4 changes: 4 additions & 0 deletions buildSrc/src/main/java/Dependency.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ object Dependency {
const val VIEWMODEL = "androidx.lifecycle:lifecycle-viewmodel-ktx:${Versions.VIEWMODEL}"
const val NAVIGATION_FRAGMENT = "androidx.navigation:navigation-fragment-ktx:${Versions.NAVIGATION_FRAGMENT}"
const val NAVIGATION_UI = "androidx.navigation:navigation-ui-ktx:${Versions.NAVIGATION_UI}"

const val LIFECYCLE_VIEWMODEL_KTX = "androidx.lifecycle:lifecycle-viewmodel-ktx:${Versions.LIFECYCLE_KTX}"
const val LIFECYCLE_VIEWMODEL_RUNTIME_KTX = "androidx.lifecycle:lifecycle-runtime-ktx:${Versions.LIFECYCLE_KTX}"
const val LIFECYCLE_LIVEDATA_KTX = "androidx.lifecycle:lifecycle-livedata-ktx:${Versions.LIFECYCLE_KTX}"
}

object Kotlin {
Expand Down
1 change: 1 addition & 0 deletions buildSrc/src/main/java/Versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ object Versions {
const val JUNIT_TEST = "1.1.3"
const val ESPRESSO = "3.4.0"
const val COROUTINE = "1.3.9"
const val LIFECYCLE_KTX = "2.4.1"

const val LIVE_DATA = "2.4.1"
const val VIEWMODEL = "2.4.1"
Expand Down
4 changes: 4 additions & 0 deletions presentation/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ dependencies {

implementation(Dependency.Kotlin.COROUTINE)

implementation(Dependency.AndroidX.LIFECYCLE_LIVEDATA_KTX)
implementation(Dependency.AndroidX.LIFECYCLE_VIEWMODEL_KTX)
implementation(Dependency.AndroidX.LIFECYCLE_VIEWMODEL_RUNTIME_KTX)

testImplementation(Dependency.UnitTest.JUNIT)
androidTestImplementation(Dependency.AndroidTest.ANDROID_JUNIT)
androidTestImplementation(Dependency.AndroidTest.ESPRESSO_CORE)
Expand Down

0 comments on commit 15948da

Please sign in to comment.