Skip to content

sirekanian/version-checker

Repository files navigation

Setup

Using the plugins DSL:

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

Using legacy plugin application:

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

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 or atMost inside a versionCheckerOptions block.

For example:

versionCheckerOptions {
    "com.squareup.okhttp3" lessThan "4.0"
    "org.jetbrains.kotlin" atMost embeddedKotlinVersion
}

Usages

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

Links