diff --git a/.idea/gradle.xml b/.idea/gradle.xml
index 4955fb0e..dbc61ea7 100644
--- a/.idea/gradle.xml
+++ b/.idea/gradle.xml
@@ -26,6 +26,7 @@
+
diff --git a/core/network/build.gradle.kts b/core/network/build.gradle.kts
index 9e3a933c..8195ef5e 100644
--- a/core/network/build.gradle.kts
+++ b/core/network/build.gradle.kts
@@ -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())
}
}
diff --git a/data/auth/build.gradle.kts b/data/auth/build.gradle.kts
index 929c0192..deb79c23 100644
--- a/data/auth/build.gradle.kts
+++ b/data/auth/build.gradle.kts
@@ -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 {