public class SourcesResolution
extends java.lang.Object
sources { git { } / jar { } } entry into a local jar and adds it to its
configured native Gradle configuration, after the project is evaluated.| Constructor and Description |
|---|
SourcesResolution() |
| Modifier and Type | Method and Description |
|---|---|
static void |
apply(org.gradle.api.Project project,
Logger logger,
SourcesExtension sourcesExtension,
SourceBuilds sourceBuilds,
Downloads downloads,
AddedJars addedJars) |
public static void apply(org.gradle.api.Project project,
Logger logger,
SourcesExtension sourcesExtension,
SourceBuilds sourceBuilds,
Downloads downloads,
AddedJars addedJars)
project - the project whose sources extension is resolved.logger - receives diagnostic output.sourcesExtension - the extension supplying the declared git/jar entries.sourceBuilds - resolves each git entry to a jar.downloads - resolves each jar entry to a jar.addedJars - the dedup filter shared with
DependencyResolution.apply(Project, Logger, GithubExtension, Releases, AddedJars), so a jar
reachable from both a github* coordinate and a sources entry is added to a
native configuration only once.