Search Gradle plugins

edu.sc.seis.version-class

A Gradle Plugin to create a class containing version info based on the project.

https://github.com/crotwell/version-class

Sources: https://github.com/crotwell/version-class.git

Version 1.1.1

1.1.1

Created 19 July 2018.

A Gradle Plugin to create a class containing version info based on the project.

Using the plugins DSL:

plugins {
  id("edu.sc.seis.version-class") version "1.1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.edu.sc.seis:version-class:1.1.1")
  }
}

apply(plugin = "edu.sc.seis.version-class")

Using the plugins DSL:

plugins {
  id "edu.sc.seis.version-class" version "1.1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.edu.sc.seis:version-class:1.1.1"
  }
}

apply plugin: "edu.sc.seis.version-class"

Learn how to apply plugins to subprojects