Search Gradle plugins

Version 1.2.0

1.2.0

Created 25 February 2019.

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.gmazzo.buildconfig") version "1.2.0"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "com.github.gmazzo.buildconfig" version "1.2.0"
}

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects