Search Gradle plugins

Version 2.31.0 (latest)

2.31.0

Created 20 November 2024.

Inject version constraints into every configuration in your projects

Using the plugins DSL:

plugins {
  id("com.palantir.versions-props") version "2.31.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.palantir.gradle.consistentversions:gradle-consistent-versions:2.31.0")
  }
}

apply(plugin = "com.palantir.versions-props")

Using the plugins DSL:

plugins {
  id "com.palantir.versions-props" version "2.31.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.palantir.gradle.consistentversions:gradle-consistent-versions:2.31.0"
  }
}

apply plugin: "com.palantir.versions-props"

Learn how to apply plugins to subprojects