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.5 (latest)

0.5

Created 20 June 2018.

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.5"
}

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.5")
  }
}

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

Using the plugins DSL:

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

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.5"
  }
}

apply plugin: "com.prot.versioninfo"

Learn how to apply plugins to subprojects