Skip to content

Commit

Permalink
fix: gradle 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
easyhz committed Aug 12, 2024
1 parent 917e4d8 commit fcdcae6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 20 deletions.
1 change: 1 addition & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions core/network/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ android {
buildTypes {
debug {
buildConfigField("String", "NOFFICE_BASE_URL", localProperties["noffice.base.url.dev"].toString())
buildConfigField("String", "GOOGLE_CLIENT_ID", localProperties["google.client.id"].toString())
}
release {
buildConfigField("String", "NOFFICE_BASE_URL", localProperties["noffice.base.url.prod"].toString())
// buildConfigField("String", "GOOGLE_CLIENT_ID", localProperties["google.client.id"].toString())
}
}

Expand Down
20 changes: 0 additions & 20 deletions data/auth/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,31 +1,11 @@
import java.util.Properties

plugins {
alias(libs.plugins.noffice.android.library)
alias(libs.plugins.noffice.android.hilt)
alias(libs.plugins.noffice.android.application.test)
}

val localProperties = Properties()
localProperties.load(project.rootProject.file("local.properties").inputStream())

android {
namespace = "com.easyhz.noffice.data.auth"
buildTypes {
debug {
buildConfigField(
"String",
"GOOGLE_CLIENT_ID",
localProperties["google.client.id"].toString()
)
}
release {
// buildConfigField("String", "GOOGLE_CLIENT_ID", localProperties["google.client.id"].toString())
}
}
buildFeatures {
buildConfig = true
}
}

dependencies {
Expand Down

0 comments on commit fcdcae6

Please sign in to comment.