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)
1.1.8
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.
Using the plugins DSL:
plugins {
id("de.fuerstenau.buildconfig") version "1.1.8"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath("gradle.plugin.de.fuerstenau:BuildConfigPlugin:1.1.8")
}
}
apply(plugin = "de.fuerstenau.buildconfig")
Using the plugins DSL:
plugins {
id "de.fuerstenau.buildconfig" version "1.1.8"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.de.fuerstenau:BuildConfigPlugin:1.1.8"
}
}
apply plugin: "de.fuerstenau.buildconfig"