Search Gradle plugins

Version 4.1.9 (latest)

Created 24 August 2021.

Allows you to resolve versions for all dependencies from a global manifest rather than hard coding versions in each build.gradle file.

Using the plugins DSL:

plugins {
  id "com.sarhanm.version-resolver" version "4.1.9"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.sarhanm:gradle-versioner:4.1.9"
  }
}

apply plugin: "com.sarhanm.version-resolver"

Using the plugins DSL:

plugins {
  id("com.sarhanm.version-resolver") version "4.1.9"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.sarhanm:gradle-versioner:4.1.9")
  }
}

apply(plugin = "com.sarhanm.version-resolver")

Learn how to apply plugins to subprojects