Search Gradle plugins

Version 2.1.18

Created 07 February 2016.

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 "2.1.18"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects