Class DependencyMetadata
java.lang.Object
io.github.intisy.gradle.github.plugin.DependencyMetadata
Generates
META-INF/github-dependencies.json from the githubImplementation dependencies.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidRegisters thegenerateGithubDependencyMetadatatask and wires it ahead ofprocessResourcesso every jar built by this project embeds the metadata thatReleases.declaredDependencies(java.io.File)later reads back.
-
Constructor Details
-
DependencyMetadata
public DependencyMetadata()
-
-
Method Details
-
apply
Registers thegenerateGithubDependencyMetadatatask and wires it ahead ofprocessResourcesso every jar built by this project embeds the metadata thatReleases.declaredDependencies(java.io.File)later reads back.- Parameters:
project- the project to register the task on; a no-op unless thejavaplugin is applied.logger- receives diagnostic output.
-