Search Gradle plugins

Version 1.0.1 (latest)

Created 15 January 2019.

Painless build metadata available at runtime

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.pixeloutlaw.gradle:buildConfigKt:1.0.1"
  }
}

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

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.pixeloutlaw.gradle:buildConfigKt:1.0.1")
  }
}

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

Learn how to apply plugins to subprojects