Search Gradle plugins

Version 5.5.0 (latest)

5.5.0

Created 17 September 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.0"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects