Search Gradle plugins

com.prot.versioninfo

Generate version-info.properties file at build time to capture project version, build time and revision info

https://github.com/zpc888/jar-version-info-gradle-plugin

Sources: https://github.com/zpc888/jar-version-info-gradle-plugin.git

Version 0.4

Created 09 November 2017.

Generate version-info.properties file at build time to capture project version, build time and revision info

Using the plugins DSL:

plugins {
  id("com.prot.versioninfo") version "0.4"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.prot.versioninfo:jar-version-info-gradle-plugin:0.4")
  }
}

apply(plugin = "com.prot.versioninfo")

Using the plugins DSL:

plugins {
  id "com.prot.versioninfo" version "0.4"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.prot.versioninfo:jar-version-info-gradle-plugin:0.4"
  }
}

apply plugin: "com.prot.versioninfo"

Learn how to apply plugins to subprojects