Search Gradle plugins

Version 5.4.0

5.4.0

Created 09 July 2024.

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 "5.4.0"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects