DEV Community

Jean-Michel πŸ•΅πŸ»β€β™‚οΈ Fayard
Jean-Michel πŸ•΅πŸ»β€β™‚οΈ Fayard

Posted on • Edited on

My project is open to (Kotlin) contributors

Are you using https://gradle.org as your build tool?

Are you using https://kotlinlang.org, or another JVM language?

Good, read on.

My project is a Gradle plugin, id("de.fayard.buildSrcVersions")

GitHub logo Splitties / refreshVersions

Life is too short to google for dependencies and versions

What is refreshVersions?

refreshVersions helps Gradle users with the tedious manual work usually involved in adding and updating dependencies and their versions.

Documentation

See documentation at https://splitties.github.io/refreshVersions

Setup

// settings.gradle(.kts)
plugins {
    // See https://splitties.github.io/refreshVersions
    id("de.fayard.refreshVersions") version "0.60.5"
}

refreshVersions { // Optional: configure the plugin
    // ...
}
Enter fullscreen mode Exit fullscreen mode

Read the friendly documentation

Usage

Make sure the project is correctly set up (see just above).

Migrate project:

The refreshVersionsMigrate task can help you migrate your project in a few minutes, or less.

In version 0.50.0, support for Gradle's Versions Catalogs was added (see discussion thread here), so a --mode option is now required.

Run it without it to see the complete list and the full description of…

Its goal is to make it as painless as possible to upgrade your project to the latest and greatest version of everything.

It does that by extracting all your dependencies, searching for available dependencies updates and generating Kotlin code, Groovy code or Gradle properties.

Here is a description of how this can help people with their own project

Wants to help? Good.

The easiest but maybe most useful way to help me is to try the plugin in your own project, read the README at https://github.com/jmfayard/buildSrcVersions and the rest of the documentation

If anything is unclear, or does not work as you expected it, or you have great idea, please open an issue

If you want to go one step further, have a look at tickets labelled "help wanted" and see if you can do something

Top comments (0)