de.fuerstenau.buildconfig
Owner: Malte Fürstenau
Build config plugin for Gradle Java and Groovy projects
https://github.com/mfuerstenau/gradle-buildconfig-plugin
Sources: https://github.com/mfuerstenau/java-buildconfig-plugin
Version 1.1.8 (latest)
Created 06 February 2017.
A build config is a generated class holding constants set by the build script. It can be accessed within the Java or Groovy application, thus providing a way to transport information about version, project name or debug flags or a lot more info that otherwise will not be available or has to to be transported via complicated workarounds.
Add this plugin to your build using the plugins DSL:
plugins {
id("de.fuerstenau.buildconfig") version "1.1.8"
}
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("de.fuerstenau.buildconfig:de.fuerstenau.buildconfig.gradle.plugin:1.1.8") }
It can then be applied in the precompiled script plugin:plugins { id("de.fuerstenau.buildconfig") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("de.fuerstenau.buildconfig:de.fuerstenau.buildconfig.gradle.plugin:1.1.8") } } apply(plugin = "de.fuerstenau.buildconfig")
- Applying plugins to all subprojects .