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

1.4.1

Created 27 September 2024.

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects