Skip to content

Commit

Permalink
Issues #287 feat: gradle 정리
Browse files Browse the repository at this point in the history
  • Loading branch information
audxo112 committed Feb 9, 2023
1 parent 6ce60c9 commit 21d5725
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 26 deletions.
4 changes: 4 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,16 @@ dependencies {
implementation(projects.coreAndroid)
implementation(projects.model)
implementation(projects.common)
implementation(projects.commonAuth)
implementation(projects.commonAndroid)
implementation(projects.commonLocation)
implementation(projects.commonRecognizer)
implementation(projects.domain)
implementation(projects.presentation)
implementation(projects.data)
implementation(projects.dataContent)
implementation(projects.dataDatabase)
implementation(projects.dataPreference)
implementation(projects.dataRemote)

implementation(libs.androidX.hilt.work)
Expand Down
17 changes: 17 additions & 0 deletions commons/common-auth/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
plugins {
id("beep.android.library")
id("beep.android.hilt")
}

android {
namespace = "com.lighthouse.beep.common.recognizer"
}

dependencies {
implementation(projects.core)
implementation(projects.coreAndroid)
implementation(projects.model)

implementation(platform(libs.firebase.bom))
implementation(libs.firebase.auth.ktx)
}
1 change: 0 additions & 1 deletion commons/common-recognizer/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@ dependencies {
implementation(projects.coreAndroid)
implementation(projects.model)

implementation(platform(libs.firebase.bom))
implementation(libs.mlkit.text.recognition.korean)
}
6 changes: 1 addition & 5 deletions data/data-database/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@Suppress("DSL_SCOPE_VIOLATION")
plugins {
id("beep.android.library")
id("beep.android.hilt")
alias(libs.plugins.ksp)
}

Expand All @@ -14,19 +15,14 @@ dependencies {
implementation(projects.model)
implementation(projects.common)
implementation(projects.commonAndroid)
implementation(projects.commonLocation)
implementation(projects.commonRecognizer)
implementation(projects.data)

implementation(libs.androidX.room.runtime)
implementation(libs.androidX.room.ktx)
implementation(libs.androidX.hilt.work)
implementation(libs.androidX.paging.runtime)
implementation(libs.androidX.work.runtime.ktx)
implementation(libs.androidX.core.ktx)

implementation(libs.kotlin.coroutine.core)
implementation(libs.kotlin.coroutine.android)

implementation(libs.timber)

Expand Down
41 changes: 22 additions & 19 deletions data/data/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,30 +18,33 @@ dependencies {
implementation(projects.commonRecognizer)
implementation(projects.domain)

implementation(libs.androidX.room.runtime)
implementation(libs.androidX.room.ktx)
implementation(libs.androidX.hilt.work)
implementation(libs.androidX.paging.runtime)
implementation(libs.androidX.work.runtime.ktx)
implementation(libs.androidX.datastore.preferences)
implementation(libs.androidX.core.ktx)
// implementation(libs.androidX.room.runtime)
// implementation(libs.androidX.room.ktx)
// implementation(libs.androidX.hilt.work)
// implementation(libs.androidX.paging.runtime)
// implementation(libs.androidX.work.runtime.ktx)
// implementation(libs.androidX.datastore.preferences)
// implementation(libs.androidX.core.ktx)

implementation(libs.androidX.paging.common.ktx)

implementation(libs.kotlin.coroutine.core)
implementation(libs.kotlin.coroutine.android)

implementation(libs.squareup.retrofit2)
implementation(libs.squareup.retrofit2.converter.moshi)
implementation(libs.squareup.moshi.kotlin)
implementation(libs.squareup.moshi.adapters)
implementation(libs.javax.inject)

implementation(platform(libs.firebase.bom))
implementation(libs.firebase.auth.ktx)
implementation(libs.firebase.firestore.ktx)
implementation(libs.firebase.storage.ktx)
implementation(libs.mlkit.text.recognition.korean)
// implementation(libs.squareup.retrofit2)
// implementation(libs.squareup.retrofit2.converter.moshi)
// implementation(libs.squareup.moshi.kotlin)
// implementation(libs.squareup.moshi.adapters)
//
// implementation(platform(libs.firebase.bom))
// implementation(libs.firebase.auth.ktx)
// implementation(libs.firebase.firestore.ktx)
// implementation(libs.firebase.storage.ktx)
// implementation(libs.mlkit.text.recognition.korean)

implementation(libs.timber)

ksp(libs.androidX.room.compiler)
ksp(libs.squareup.moshi.kotlin.codegen)
// ksp(libs.androidX.room.compiler)
// ksp(libs.squareup.moshi.kotlin.codegen)
}
1 change: 0 additions & 1 deletion domain/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ dependencies {

implementation(libs.kotlin.coroutine.core)
implementation(libs.androidX.paging.common.ktx)
implementation(libs.androidX.room.common)
implementation(libs.javax.inject)
}
3 changes: 3 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,14 @@ includeProject(":core")
includeProject(":core-android")
includeProject(":model")
includeProject(":common", "commons")
includeProject(":common-auth", "commons")
includeProject(":common-android", "commons")
includeProject(":common-location", "commons")
includeProject(":common-recognizer", "commons")
includeProject(":data", "data")
includeProject(":data-database", "data")
includeProject(":data-remote", "data")
includeProject(":data-content", "data")
includeProject(":data-preference", "data")
includeProject(":presentation")
includeProject(":domain")

0 comments on commit 21d5725

Please sign in to comment.