|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
org.gradle.api.NamedDomainObjectCollection org.gradle.api.DomainObjectCollection org.gradle.api.NamedDomainObjectContainer org.gradle.api.artifacts.ConfigurationContainer
public interface ConfigurationContainer extends NamedDomainObjectContainer
A ConfigurationContainer is responsible for managing a set of Configuration instances.
You can obtain a ConfigurationContainer instance by calling Project.getConfigurations, or using the configurations property in your build script.
The configurations in a container are accessable as read-only properties of the container, using the name of the configuration as the property name. For example:
configurations.add('myConfiguration') configurations.myConfiguration.transitive = false
A dynamic method is added for each configuration which takes a configuration closure. This is equivalent to calling getByName(String, groovy.lang.Closure). For example:
configurations.add('myConfiguration') configurations.myConfiguration { transitive = false }
Method Summary |
---|
Methods inherited from interface java.lang.Iterable | |
---|---|
java.lang.Iterable#iterator() |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
Groovy Documentation