这看起来如何 kotlin DSL:
dependencies {
// Import the BoM for the Firebase platform
implementation platform('com.google.firebase:firebase-bom:26.2.0')
}
以上是Firebase docs推荐的电流
最佳答案
dependencies {
implementation(platform("com.google.firebase:firebase-bom:26.2.0"))
}
引用:https://docs.gradle.org/current/userguide/platforms.html#sub:bom_import
关于android - 如何在 Kotlin Gradle dsl 中使用 Firebase BoM?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65564856/