File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1+ - Removes support for running emulators with Java versions prior to 21.
12- [ Added] support for new google-genai plugin during ` init genkit ` (#8957 )
Original file line number Diff line number Diff line change @@ -589,5 +589,5 @@ export async function checkJavaMajorVersion(): Promise<number> {
589589
590590export const MIN_SUPPORTED_JAVA_MAJOR_VERSION = 21 ;
591591export const JAVA_DEPRECATION_WARNING =
592- "firebase-tools will drop support for Java version < 21 soon in firebase-tools@15 . " +
592+ "firebase-tools no longer supports Java version before 21. " +
593593 "Please install a JDK at version 21 or above to get a compatible runtime." ;
Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ export async function startAll(
299299 if ( targets . some ( requiresJava ) ) {
300300 if ( ( await commandUtils . checkJavaMajorVersion ( ) ) < MIN_SUPPORTED_JAVA_MAJOR_VERSION ) {
301301 utils . logLabeledError ( "emulators" , JAVA_DEPRECATION_WARNING , "warn" ) ;
302- deprecationNotices . push ( JAVA_DEPRECATION_WARNING ) ;
302+ throw new FirebaseError ( JAVA_DEPRECATION_WARNING ) ;
303303 }
304304 }
305305 if ( options . logVerbosity ) {
You can’t perform that action at this time.
0 commit comments