Groovy Documentation

org.gradle.language
[Java] Interface DependentSourceSet

org.gradle.language.DependentSourceSet
  org.gradle.language.base.BuildableModelElement
      org.gradle.language.base.LanguageSourceSet
          org.gradle.api.Buildable
              org.gradle.api.Named
All Superinterfaces:
BuildableModelElement, LanguageSourceSet, Buildable, Named

@Incubating
public interface DependentSourceSet
extends LanguageSourceSet

A source set that depends on one or more NativeDependencySets to be built.


Method Summary
void dependency(Map dep)

Add a dependency to this source set.

Collection getLibs()

The libraries that this source set requires.

void lib(Object library)

Adds a library that this source set requires.

 
Methods inherited from interface LanguageSourceSet
generatedBy, getSource, source
 
Methods inherited from interface BuildableModelElement
builtBy, hasBuildDependencies, setLifecycleTask
 
Methods inherited from interface Named
getName
 

Method Detail

dependency

public void dependency(Map dep)
Add a dependency to this source set.


getLibs

public Collection getLibs()
The libraries that this source set requires.


lib

public void lib(Object library)
Adds a library that this source set requires. This method accepts the following types: The Map notation supports the following String attributes:


 

Gradle API 1.12