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