-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Weekly/9: Develop 브랜치의 9주차 개발 내용을 Master 브랜치에 병합
- Loading branch information
Showing
83 changed files
with
1,781 additions
and
501 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
app/src/main/java/com/kappzzang/jeongsan/di/DispatcherModule.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.kappzzang.jeongsan.di | ||
|
||
import dagger.Module | ||
import dagger.Provides | ||
import dagger.hilt.InstallIn | ||
import dagger.hilt.components.SingletonComponent | ||
import kotlinx.coroutines.CoroutineDispatcher | ||
import kotlinx.coroutines.Dispatchers | ||
|
||
@Module | ||
@InstallIn(SingletonComponent::class) | ||
object DispatcherModule { | ||
|
||
@Provides | ||
fun provideIoDispatcher(): CoroutineDispatcher = Dispatchers.IO | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
import com.android.build.gradle.internal.cxx.configure.gradleLocalProperties | ||
|
||
plugins { | ||
id("com.android.library") | ||
id("org.jetbrains.kotlin.android") | ||
id("org.jlleitschuh.gradle.ktlint") | ||
} | ||
|
||
fun getApiKey(key: String): String = gradleLocalProperties(rootDir, providers).getProperty(key) | ||
|
||
android { | ||
compileSdk = 34 | ||
namespace = "com.kappzzang.jeongsan.build_config" | ||
|
||
buildTypes { | ||
debug { | ||
buildConfigField("String", "KAKAO_REST_API_KEY", getApiKey("KAKAO_REST_API_KEY")) | ||
buildConfigField("String", "KAKAO_API_KEY", getApiKey("KAKAO_API_KEY")) | ||
buildConfigField("String", "KEYSTORE_NAME", getApiKey("KEYSTORE_NAME")) | ||
resValue("string", "KAKAO_API_KEY", getApiKey("KAKAO_API_KEY")) | ||
resValue("string", "KAKAO_API_KEY_MANIFEST", getApiKey("KAKAO_API_KEY_MANIFEST")) | ||
|
||
buildConfigField("String", "KAKAO_API_URL", getApiKey("KAKAO_API_URL")) | ||
buildConfigField("String", "SERVICE_URL", getApiKey("SERVICE_URL")) | ||
buildConfigField("String", "KAKAO_AUTH_URL", getApiKey("KAKAO_AUTH_URL")) | ||
} | ||
|
||
release { | ||
buildConfigField("String", "KAKAO_REST_API_KEY", getApiKey("KAKAO_REST_API_KEY")) | ||
buildConfigField("String", "KAKAO_API_KEY", getApiKey("KAKAO_API_KEY")) | ||
buildConfigField("String", "KEYSTORE_NAME", getApiKey("KEYSTORE_NAME")) | ||
resValue("string", "KAKAO_API_KEY", getApiKey("KAKAO_API_KEY")) | ||
resValue("string", "KAKAO_API_KEY_MANIFEST", getApiKey("KAKAO_API_KEY_MANIFEST")) | ||
|
||
buildConfigField("String", "KAKAO_API_URL", getApiKey("KAKAO_API_URL")) | ||
buildConfigField("String", "SERVICE_URL", getApiKey("SERVICE_URL")) | ||
buildConfigField("String", "KAKAO_AUTH_URL", getApiKey("KAKAO_AUTH_URL")) | ||
} | ||
} | ||
buildFeatures { | ||
buildConfig = true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
common/retrofit/src/main/java/com/kappzzang/jeongsan/retrofit/RetrofitModule.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
plugins { | ||
kotlin("plugin.serialization") version "1.9.0" | ||
} | ||
|
||
android { | ||
namespace = "com.kappzzang.jeongsan.expense" | ||
} | ||
dependencies { | ||
implementation(project(":domain:expense")) | ||
implementation("androidx.room:room-ktx:2.6.1") | ||
implementation("com.kakao.sdk:v2-talk:2.20.6") | ||
implementation(project(":domain:common-user")) | ||
testImplementation("androidx.room:room-testing:2.6.1") | ||
} |
Oops, something went wrong.