edu.sc.seis.version-class
Owner: Philip Crotwell
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)
Created 27 September 2024.
A Gradle Plugin to create a class containing version info based on the project.
Add this plugin to your build using the plugins DSL:
plugins {
id("edu.sc.seis.version-class") version "1.4.1"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts)
:dependencies { implementation("edu.sc.seis.version-class:edu.sc.seis.version-class.gradle.plugin:1.4.1") }
It can then be applied in the precompiled script plugin:plugins { id("edu.sc.seis.version-class") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("edu.sc.seis.version-class:edu.sc.seis.version-class.gradle.plugin:1.4.1") } } apply(plugin = "edu.sc.seis.version-class")
- Applying plugins to all subprojects .