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

1.0.0

Created 21 May 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.0.0"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects