Groovy Documentation

org.standardout.gradle.plugin.platform.internal.util.gradle
[Groovy] Class DependencyHelper

java.lang.Object
  org.standardout.gradle.plugin.platform.internal.util.gradle.DependencyHelper

class DependencyHelper

Implementation based on several classes from the gradle ide subproject, mainly DefaultIdeDependencyResolver.


Method Summary
static java.io.File getDetachedDependency(Project project, java.lang.Object dependencyNotation, java.lang.String requiredExtension = null, boolean nullOnMultiple = false)

Retrieve a specific dependency.

static java.util.Set resolveAllDependencies(Configuration configuration)

Recursively resolves dependencies including their children.

static java.util.Set resolveSourceArtifacts(Configuration configuration, ConfigurationContainer configurationContainer)

Resolve source artifacts for dependencies in the given configuration.

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Method Detail

getDetachedDependency

static java.io.File getDetachedDependency(Project project, java.lang.Object dependencyNotation, java.lang.String requiredExtension = null, boolean nullOnMultiple = false)
Retrieve a specific dependency.


resolveAllDependencies

static java.util.Set resolveAllDependencies(Configuration configuration)
Recursively resolves dependencies including their children.


resolveSourceArtifacts

static java.util.Set resolveSourceArtifacts(Configuration configuration, ConfigurationContainer configurationContainer)
Resolve source artifacts for dependencies in the given configuration.


 

Groovy Documentation