Search Gradle plugins

com.github.jarmstrong.buildconfig

DEPRECATED in favor of com.github.gmazzo.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

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

Version 1.8.0

Created 20 February 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.8.0"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects