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.

Always tries to update de_fayard_buildsrcversions_gradle_plugin

See original GitHub issue

Every time I run ./gradlew buildSrcVersions it says I have to “update” your lib. But as you can see:

Screenshot 2019-09-25 at 17 28 20

I was already using the latest version.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jmfayardcommented, Oct 2, 2019

@GuilhE well I have the goal to be clear, so if you didn’t understand it, it’s also “my bad”. Is that clearer like this? https://github.com/jmfayard/buildSrcVersions/issues/77

1reaction
jmfayardcommented, Oct 2, 2019

@GuilhE gradle.properties does not replace Libs.kt, it replaces Versions.kt

You can use at the same time :refreshVersions to update the versions and :buildSrcVersions to generate Libs.kt and use auto-complete everywhere.

Or you can also use only :buildSrcVersions if you prefer. Versions.kt will still be generated unless plugin.de.fayard.buildSrcVersions is found in gradle.properties

Beware that v0.6.2 is broken, better use v0.6.3

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add the plugin de.fayard.refreshVersions to your project - GitHub
Configure the plugins versions (Gradle 5.6). Update Gradle. Always a good idea. You get more features, less bugs, more speed. $ ./gradlew ...
Read more >
de.fayard.buildSrcLibs - Gradle Plugin Portal
Generates dependency notations constants in buildSrc and updates the versions with gradle refreshVersions. Other versions.
Read more >
Setup - gradle refreshVersions - GitHub Pages
This guide will help you set up refreshVersions in a Gradle project. Update Gradle (if needed)¶. Gradle 6.8+ is required because this plugin...
Read more >
How Kotlin makes editing your Gradle build less frustrating
(The plugin never auto-apply a dependency update, that should always be the developer's job!!). Give it a try. Groovy build.gradle and Kotlin ...
Read more >
10 Gradle best practices to supercharge your project
Always add settings.gradle. 4. Move tasks to buildSrc. 5. Run tests in parallel. 6. Version your project. 7. Encapsulate task declarations ...
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