Search Gradle plugins

Version 1.1.0 (latest)

Created 04 May 2016.

A Gradle plugin for Android which generates both Java and XML constants as part of the build process.

Using the plugins DSL:

plugins {
  id("com.jenzz.buildconstants") version "1.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.jenzz:buildconstants:1.1.0")
  }
}

apply(plugin = "com.jenzz.buildconstants")

Using the plugins DSL:

plugins {
  id "com.jenzz.buildconstants" version "1.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.jenzz:buildconstants:1.1.0"
  }
}

apply plugin: "com.jenzz.buildconstants"

Learn how to apply plugins to subprojects