Search Gradle plugins

Version 4.1.7

4.1.7

Created 01 May 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.7"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects