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.1

0.1

Created 05 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.1"
}

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

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

Using the plugins DSL:

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

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

apply plugin: "com.prot.versioninfo"

Learn how to apply plugins to subprojects