Groovy Documentation

org.gradle.language
[Java] Interface DependentSourceSet

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

@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 Named
getName
 
Methods inherited from interface BuildableModelElement
builtBy, setLifecycleTask
 
Methods inherited from interface Buildable
getBuildDependencies
 

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.11