Open necatisozer opened 3 years ago
I highly doubt there's anything Groovy DSL specific here.
Are you using an older Firebase BoM that might lack the entry for the new ktx artifact?
Wait, I just looked at the Gradle scan, and the issue seems to be Groovy DSL related actually, I'll take a look later this week. In the meantime, just use the full dependency notation without specifying the version, the BoM will do its magic.
Wait, I just looked at the Gradle scan, and the issue seems to be Groovy DSL related actually, I'll take a look later this week. In the meantime, just use the full dependency notation without specifying the version, the BoM will do its magic.
Using implementation Google.firebase.crashlytics
results in a similar issue.
A problem occurred evaluating project ':myGradleModule'. No such property: firebase for class: Google Possible solutions: firebase
Checklist
$ ./gradlew --scan refreshVersions
to provide a Build Scan URLDescribe the bug
When we use Firebase built-in dependencies in Groovy DSL, it fails.
To Reproduce
Build scan URL: https://gradle.com/s/dk6tywk3n4r2y
implementation(platform(Firebase.bom))
under dependencies block. It works fine.implementation(Firebase.crashlyticsKtx)
, it fails.