Setup

Using the plugins DSL:

plugins {
    id "org.sirekanyan.version-checker" version "1.0.0"
}

Using legacy plugin application:

buildscript {
    repositories {
        maven {
            url "https://plugins.gradle.org/m2/"
        }
    }
    dependencies {
        classpath "org.sirekanyan:version-checker:1.0.0"
    }
}

apply plugin: "org.sirekanyan.version-checker"

Run

./gradlew versionChecker

Options

If you don’t want some dependency to be updated to the specific version, consider using lessThan inside a versionCheckerOptions block.

For example:

versionCheckerOptions {
    "com.squareup.okhttp3:logging-interceptor" lessThan "4.0"
}

Usages

This plugin is actively used during development of Spacetime, Warmongr, Anders Robot, and Knigopis