org.hiero.gradle.feature.git-properties-file
Owner: LFDT bot account
Adds a 'git.properties' file with 'git.commit.id' entries to the Jar and makes sure the file is ignored in classpath normalization
https://github.com/hiero-ledger/hiero-gradle-conventions
Sources: https://github.com/hiero-ledger/hiero-gradle-conventions
Version 0.1.0
Created 09 December 2024.
Adds a 'git.properties' file with 'git.commit.id' entries to the Jar and makes sure the file is ignored in classpath normalization
Add this plugin to your build using the plugins DSL:
plugins {
id("org.hiero.gradle.feature.git-properties-file") version "0.1.0"
}
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("org.hiero.gradle.feature.git-properties-file:org.hiero.gradle.feature.git-properties-file.gradle.plugin:0.1.0") }
It can then be applied in the precompiled script plugin:plugins { id("org.hiero.gradle.feature.git-properties-file") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("org.hiero.gradle.feature.git-properties-file:org.hiero.gradle.feature.git-properties-file.gradle.plugin:0.1.0") } } apply(plugin = "org.hiero.gradle.feature.git-properties-file")
- Applying plugins to all subprojects .