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

Version 1.2.0

Created 18 February 2021.

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

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id("edu.sc.seis.version-class") version "1.2.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.2.0")
  }
}

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

Learn how to apply plugins to subprojects