io.github.simulatan.gradle-buildinfo-plugin
Owner: Jakob
Bakes in build info at compile time
https://github.com/SIMULATAN/gradle-buildinfo-plugin
Sources: https://github.com/SIMULATAN/gradle-buildinfo-plugin.git
Add this plugin to your build using the plugins DSL:
plugins {
id("io.github.simulatan.gradle-buildinfo-plugin") version "2.3.1"
}
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("io.github.simulatan.gradle-buildinfo-plugin:io.github.simulatan.gradle-buildinfo-plugin.gradle.plugin:2.3.1") }
It can then be applied in the precompiled script plugin:plugins { id("io.github.simulatan.gradle-buildinfo-plugin") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("io.github.simulatan.gradle-buildinfo-plugin:io.github.simulatan.gradle-buildinfo-plugin.gradle.plugin:2.3.1") } } apply(plugin = "io.github.simulatan.gradle-buildinfo-plugin")
- Applying plugins to all subprojects .