public class DependencyMetadata
extends java.lang.Object
META-INF/github-dependencies.json from the githubImplementation dependencies.| Constructor and Description |
|---|
DependencyMetadata() |
| Modifier and Type | Method and Description |
|---|---|
static void |
apply(org.gradle.api.Project project,
Logger logger)
Registers the
generateGithubDependencyMetadata task and wires it ahead of
processResources so every jar built by this project embeds the metadata that
Releases.declaredDependencies(java.io.File) later reads back. |
public static void apply(org.gradle.api.Project project,
Logger logger)
generateGithubDependencyMetadata task and wires it ahead of
processResources so every jar built by this project embeds the metadata that
Releases.declaredDependencies(java.io.File) later reads back.project - the project to register the task on; a no-op unless the java plugin is applied.logger - receives diagnostic output.