com.github.gmazzo.buildconfig
Owner: Guillermo Mazzola
A Gradle plugin for generating BuildConstants for any kind of project (no just Android)
https://github.com/gmazzo/gradle-buildconfig-plugin
Sources: https://github.com/gmazzo/gradle-buildconfig-plugin
Version 4.0.4
Created 02 May 2023.
A plugin for generating BuildConstants for any kind of Gradle projects: Java, Kotlin, Groovy, etc. Designed for KTS scripts.
Add this plugin to your build using the plugins DSL:
plugins {
id("com.github.gmazzo.buildconfig") version "4.0.4"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts)
:dependencies { implementation("com.github.gmazzo.buildconfig:com.github.gmazzo.buildconfig.gradle.plugin:4.0.4") }
It can then be applied in the precompiled script plugin:plugins { id("com.github.gmazzo.buildconfig") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("com.github.gmazzo.buildconfig:com.github.gmazzo.buildconfig.gradle.plugin:4.0.4") } } apply(plugin = "com.github.gmazzo.buildconfig")
- Applying plugins to all subprojects .