[英]How to use Firebase BoM in Kotlin Gradle dsl?
How does this look it kotlin DSL:这看起来怎么样 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以上是Firebase 文档推荐的电流
dependencies {
implementation(platform("com.google.firebase:firebase-bom:26.2.0"))
}
Reference: https://docs.gradle.org/current/userguide/platforms.html#sub:bom_import参考: https://docs.gradle.org/current/userguide/platforms.html#sub:bom_import
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.