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.

Add this plugin to your build using the plugins DSL:

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

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("com.sarhanm.version-resolver:com.sarhanm.version-resolver.gradle.plugin:4.1.9")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.sarhanm.version-resolver")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.sarhanm.version-resolver:com.sarhanm.version-resolver.gradle.plugin:4.1.9")
      }
    }
    
    apply(plugin = "com.sarhanm.version-resolver")
  • Applying plugins to all subprojects .