question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Firebase Crashlytics Gradle Plugins become unresolved after migrating to `versions.properties`

See original GitHub issue

🐛 Describe the bug

Really not sure if this is firebase-crashlytics-gradle issue or refreshVersions, before adding the refreshVersions, we were able to use any gradle API from firebase-crashlytics-gradle.

⚠️ Current behavior

Screen Shot 2021-08-12 at 6 49 14 PM Screen Shot 2021-08-12 at 6 49 27 PM Screen Shot 2021-08-12 at 6 50 05 PM Screen Shot 2021-08-12 at 6 51 02 PM

✅ Expected behavior

The refreshVersions able to coexist with firebase-crashlytics-gradle

💣 Steps to reproduce

Not sure what/which information to provide here, but here’s my config:

// versions.properties
version.firebase-crashlytics-gradle=2.7.1
// app/build.gradle.kts
plugins {
    // ... omitted
    id("com.google.firebase.crashlytics")
}
// buildSrc/settings.gradle.kts
pluginManagement {
    plugins {
        id("de.fayard.refreshVersions") version "0.11.0"
    }
}

plugins {
    id("de.fayard.refreshVersions")
}
// settings.gradle.kts
plugins {
    id("de.fayard.refreshVersions") version "0.11.0"
}

📱 Tech info

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:18

github_iconTop GitHub Comments

2reactions
LouisCADcommented, Aug 24, 2021

It supports it, but you cannot configure it the way you’re doing. Just search for “firebase crashlytics kotlin dsl” on Google and you’ll get the info you need to do what you want.

2reactions
LouisCADcommented, Aug 12, 2021

You need to use the no-BoM variant.

Unfortunately, the issue is that the Firebase BoM used to include the Gradle plugin, but no longer does.

We have a plan to improve our dependency notations so that the default is the working one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unresolved reference to firebaseCrashlytics Gradle extension ...
The Gradle configuration to use the 'firebaseCrashlytics' Gradle extension, in order to set configuration properties such as ' ...
Read more >
Firebase Android SDK Release Notes
Crashlytics plugin, com.google.firebase:firebase-crashlytics-gradle, 2.9.2 ... The firebase-core library is deprecated and no further versions will be ...
Read more >
Why does new Firebase Crashlytics (Without Fabric) not ...
My app has already been registered with firebase. I setup everything, but not change anything in manifest and Application class. apply plugin: ' ......
Read more >
Updating Gradle To Version 5.1.1 Causes 'Unresolved ...
If the specified plugin version has not been downloaded Gradle downloads it the next time you build your project or click Tools >...
Read more >
Android App build error - I have no idea what to do
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found