Search Gradle plugins

com.github.jarmstrong.buildconfig

DEPRECATED in favor of com.github.gmazzo.buildconfig - A plugin for generating BuildConstants for any kind of Gradle projects: Java, Kotlin, Groovy, etc. Designed for KTS scripts

https://github.com/gmazzo/gradle-buildconfig-plugin

Sources: https://github.com/gmazzo/gradle-buildconfig-plugin

Version 1.9.0 (latest)

Created 04 March 2020.

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.jarmstrong.buildconfig") version "1.9.0"
}

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.jarmstrong.buildconfig:com.github.jarmstrong.buildconfig.gradle.plugin:1.9.0")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.github.jarmstrong.buildconfig")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.github.jarmstrong.buildconfig:com.github.jarmstrong.buildconfig.gradle.plugin:1.9.0")
      }
    }
    
    apply(plugin = "com.github.jarmstrong.buildconfig")
  • Applying plugins to all subprojects .