Firebase 프로젝트 연결 — Google 서비스 Gradle 플러그인 적용

This commit is contained in:
Sn-Kinos
2026-09-01 23:18:36 +09:00
parent ed46e877e8
commit 4d9f771dab
2 changed files with 6 additions and 7 deletions
+3 -3
View File
@@ -5,9 +5,9 @@ plugins {
id("kotlin-android")
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
id("dev.flutter.flutter-gradle-plugin")
// Firebase 설정 파일(google-services.json)이 투입되면(S2) 아래 한 줄을 함께 푼다.
// 파일 없이 플러그인만 적용하면 Gradle 빌드 자체가 실패한다.
// id("com.google.gms.google-services")
// Firebase 설정 파일(google-services.json) 투입 완료(S2). settings.gradle.kts 의
// 버전 선언과 짝이며, 파일이 빠지면 Gradle 빌드 자체가 실패한다.
id("com.google.gms.google-services")
}
// 릴리스 서명 키는 `android/key.properties` 에서 읽는다. 파일은 저장소에 넣지 않는다.
+3 -4
View File
@@ -21,10 +21,9 @@ plugins {
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
id("com.android.application") version "8.11.1" apply false
id("org.jetbrains.kotlin.android") version "2.2.20" apply false
// Firebase 설정 파일(google-services.json) 투입 시(S2) 아래 한 줄과
// app/build.gradle.kts 의 id("com.google.gms.google-services") 를 '함께' 푼다.
// 파일 없이 플러그인만 적용하면 Gradle 빌드가 실패한다.
// id("com.google.gms.google-services") version "4.4.4" apply false
// Firebase 설정 파일 투입(S2) 완료 — app/build.gradle.kts 의 같은 플러그인과 짝이다.
// 파일 없이 플러그인만 적용하면 Gradle 빌드가 실패하므로 둘은 함께 움직인다.
id("com.google.gms.google-services") version "4.4.4" apply false
}
include(":app")