Search Gradle plugins

Version 2.1.0 (latest)

Created 28 March 2021.

Painless build metadata available at runtime

Using the plugins DSL:

plugins {
  id "io.pixeloutlaw.gradle.buildconfigkt" version "2.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.pixeloutlaw.gradle:buildconfig-gradle-plugin:2.1.0"
  }
}

apply plugin: "io.pixeloutlaw.gradle.buildconfigkt"

Using the plugins DSL:

plugins {
  id("io.pixeloutlaw.gradle.buildconfigkt") version "2.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.pixeloutlaw.gradle:buildconfig-gradle-plugin:2.1.0")
  }
}

apply(plugin = "io.pixeloutlaw.gradle.buildconfigkt")

Learn how to apply plugins to subprojects