Skip to content

Commit 2b06391

Browse files
committed
[BOOK-62] chore: localProperties 에서 값 가져오는 방법 통일
1 parent 622b3de commit 2b06391

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

app/build.gradle.kts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,12 @@ plugins {
1010
alias(libs.plugins.booket.android.hilt)
1111
}
1212

13-
val localPropertiesFile = rootProject.file("local.properties")
14-
val localProperties = Properties()
15-
localProperties.load(FileInputStream(localPropertiesFile))
16-
1713
android {
1814
namespace = "com.ninecraft.booket"
1915

2016
defaultConfig {
2117
buildConfigField("String", "KAKAO_NATIVE_APP_KEY", getApiKey("KAKAO_NATIVE_APP_KEY"))
22-
manifestPlaceholders["KAKAO_NATIVE_APP_KEY"] = (localProperties["KAKAO_NATIVE_APP_KEY"] as String).trim('"')
18+
manifestPlaceholders["KAKAO_NATIVE_APP_KEY"] = getApiKey("KAKAO_NATIVE_APP_KEY").trim('"')
2319
}
2420

2521
buildTypes {

0 commit comments

Comments
 (0)