Search Gradle plugins

com.github.nwillc.buildinfo

Gradle plugin to generate a JSON file with Java build information in it.

https://github.com/nwillc/buildInfo

Sources: https://github.com/nwillc/buildInfo

Version 0.1.4 (latest)

0.1.4

Created 29 October 2017.

Gradle plugin to generate a JSON file with Java build information in it.

Using the plugins DSL:

plugins {
  id("com.github.nwillc.buildinfo") version "0.1.4"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.github.nwillc:buildinfo:0.1.4")
  }
}

apply(plugin = "com.github.nwillc.buildinfo")

Using the plugins DSL:

plugins {
  id "com.github.nwillc.buildinfo" version "0.1.4"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.github.nwillc:buildinfo:0.1.4"
  }
}

apply plugin: "com.github.nwillc.buildinfo"

Learn how to apply plugins to subprojects