Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use Firebase BoM in Kotlin Gradle dsl?

How does this look it kotlin DSL:

dependencies {
  // Import the BoM for the Firebase platform
  implementation platform('com.google.firebase:firebase-bom:26.2.0')
}

The above is the current recommended at Firebase docs

like image 462
arberg Avatar asked Sep 13 '25 14:09

arberg


1 Answers

dependencies {
    implementation(platform("com.google.firebase:firebase-bom:26.2.0"))
}

Reference: https://docs.gradle.org/current/userguide/platforms.html#sub:bom_import

like image 140
Subhrajyoti Sen Avatar answered Sep 16 '25 04:09

Subhrajyoti Sen