Search Gradle plugins

com.github.jarmstrong.buildconfig

A plugin for generating BuildConstants for any kind of Gradle projects: Java, Kotlin, Groovy, etc. Designed for KTS scripts.

https://github.com/gmazzo/gradle-buildconfig-plugin

Version 1.9.0 (latest)

Created 04 March 2020.

A plugin for generating BuildConstants for any kind of Gradle projects: Java, Kotlin, Groovy, etc. Designed for KTS scripts.

Using the plugins DSL:

plugins {
  id "com.github.jarmstrong.buildconfig" version "1.9.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.github.jarmstrong:gradle-buildconfig-plugin:1.9.0"
  }
}

apply plugin: "com.github.jarmstrong.buildconfig"

Using the plugins DSL:

plugins {
  id("com.github.jarmstrong.buildconfig") version "1.9.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.github.jarmstrong:gradle-buildconfig-plugin:1.9.0")
  }
}

apply(plugin = "com.github.jarmstrong.buildconfig")

Learn how to apply plugins to subprojects