Skip to content

Commit

Permalink
Update to the latest version of the Crashlytics buildtools, v3 (#7267)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrober committed Jun 4, 2024
1 parent e1ff423 commit 01e61df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
- Improved handling of 'fresh from Console' services during `init dataconnect`.
- Add support for node22 in function deployments (#7252).
- Update to Firebase Data Connect Emulator v1.2.0, which adds support for Postgres 16 and creates the Postgres database specified in dataconnect.yaml or .firebaserc if it does not already exist.
- Update to the latest version of the Crashlytics buildtools, v3.
3 changes: 2 additions & 1 deletion src/crashlytics/buildToolsJarHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const JAR_CACHE_DIR =
process.env.FIREBASE_CRASHLYTICS_BUILDTOOLS_PATH ||
path.join(os.homedir(), ".cache", "firebase", "crashlytics", "buildtools");

const JAR_VERSION = "2.9.2";
const JAR_VERSION = "3.0.0";
const JAR_URL = `https://dl.google.com/android/maven2/com/google/firebase/firebase-crashlytics-buildtools/${JAR_VERSION}/firebase-crashlytics-buildtools-${JAR_VERSION}.jar`;

/**
Expand All @@ -22,6 +22,7 @@ const JAR_URL = `https://dl.google.com/android/maven2/com/google/firebase/fireba
export async function fetchBuildtoolsJar(): Promise<string> {
// If you set CRASHLYTICS_LOCAL_JAR to a path it will override the downloaded buildtools.jar
if (process.env.CRASHLYTICS_LOCAL_JAR) {
logger.debug(`Using local Crashlytics Jar override at ${process.env.CRASHLYTICS_LOCAL_JAR}`);
return process.env.CRASHLYTICS_LOCAL_JAR;
}

Expand Down

0 comments on commit 01e61df

Please sign in to comment.