Search Gradle plugins

Version 5.5.1 (latest)

5.5.1

Created 19 November 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.5.1"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects