Skip to content

Commit 170b297

Browse files
committed
Update Firebase hosting and Android build settings
- Add top-level Android Gradle buildscript with Google services classpath - Remove the old com.google.gms.google-services plugin declaration - Update Firebase project to http-sms-1738 in web/.firebaserc - Update web/package.json deploy and preview scripts to use http-sms-1738 - Add web hosting cache file at web/.firebase/hosting.ZGlzdA.cache
1 parent d30f9d5 commit 170b297

3 files changed

Lines changed: 14 additions & 4 deletions

File tree

‎android/build.gradle.kts‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
1+
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2+
buildscript {
3+
repositories {
4+
google()
5+
mavenCentral()
6+
}
7+
dependencies {
8+
classpath("com.google.gms:google-services:4.4.2")
9+
}
10+
}
11+
112
plugins {
213
id("com.android.application") version "9.1.0" apply false
314
id("com.android.library") version "9.1.0" apply false
4-
id("com.google.gms.google-services") version "4.4.4" apply false
515
}
616

717
tasks.register<Delete>("clean") {

‎web/.firebaserc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"projects": {
3-
"default": "httpsms-86c51"
3+
"default": "http-sms-1738"
44
}
55
}

‎web/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"build": "nuxt build",
99
"start": "nuxt start",
1010
"generate": "nuxt generate",
11-
"deploy:firebase": "npm run generate && npx firebase-tools deploy --only hosting",
12-
"preview:firebase": "npm run generate && npx firebase-tools hosting:channel:deploy preview",
11+
"deploy:firebase": "npm run generate && npx firebase-tools deploy --only hosting --project http-sms-1738",
12+
"preview:firebase": "npm run generate && npx firebase-tools hosting:channel:deploy preview --project http-sms-1738",
1313
"lint:js": "eslint --ext \".js,.ts,.vue\" --ignore-path .gitignore .",
1414
"lint:style": "stylelint \"**/*.{css,scss,sass,html,vue}\" --ignore-path .gitignore",
1515
"lint:prettier": "prettier --check .",

0 commit comments

Comments
 (0)