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.

Migrating to refreshVersions breaks the build

See original GitHub issue

🐛 Describe the bug

Migrating my project to refreshVersions breaks the build

💣 Steps to reproduce

  1. Clone the following branch: https://github.com/marmistrz/OpenMeteo/tree/deps
  2. Execute gradle refreshVersionsMigrate
  3. Execute gradle build.

Then the build fails with

* What went wrong:
A problem occurred configuring root project 'OpenMeteo'.
> kotlin.KotlinNullPointerException (no error message)

📱 Tech info

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:6

github_iconTop GitHub Comments

1reaction
LouisCADcommented, Sep 23, 2021

The version 0.22.0 will include the fix, and if you’re in a hurry, the version 0.22.0-SNAPSHOT is being built and should be there in less than 5 minutes.

1reaction
CDRussellcommented, Sep 16, 2021

I see this happening on a brand new project with basically nothing in it. This looks like a regression on 0.21.0. If i drop back to 0.20.0 this error doesn’t happen

Read more comments on GitHub >

github_iconTop Results From Across the Web

Migrate - gradle refreshVersions
It generates gradle/libs.versions.toml with the current version of all dependencies. It modifies build.gradle(.kts) files, so that dependency notations ...
Read more >
Handling versions which change over time
Using dynamic versions in a build bears the risk of potentially breaking it. As soon as a new version of the dependency is...
Read more >
Gradle migration - Development - Image.sc Forum
I migrated Apache Calcite build from Maven to Gradle, ... said “it will break everything”; Many said that Maven-based build evolved for very ......
Read more >
Hello dear users I am considering adding config options to r ...
... on this draft proposal https github com jmfayard refreshVersions issues 202. ... have it break in a obvious way rather than silently...
Read more >
Better dependency management in Android Studio 3.5 with ...
refreshVersions helps Gradle users with the tedious manual work usually ... this error message is the exact moment where it all breaks down....
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