Search Gradle plugins

Version 1.3 (latest)

Created 08 November 2022.

Compile-safe access to parameters supplied to a Gradle build.

Using the plugins DSL:

plugins {
  id "org.gradlex.build-parameters" version "1.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.gradlex:build-parameters:1.3"
  }
}

apply plugin: "org.gradlex.build-parameters"

Using the plugins DSL:

plugins {
  id("org.gradlex.build-parameters") version "1.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.gradlex:build-parameters:1.3")
  }
}

apply(plugin = "org.gradlex.build-parameters")

Learn how to apply plugins to subprojects