Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD

## org.gradle.api.artifacts
[Java] Interface ConfigurationContainer

    org.gradle.api.NamedDomainObjectCollection
      org.gradle.api.artifacts.ConfigurationContainer
          org.gradle.api.NamedDomainObjectContainer
              org.gradle.api.DomainObjectCollection

All Superinterfaces:
  NamedDomainObjectCollection, NamedDomainObjectContainer, DomainObjectCollection

    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
     }

Authors:
  Hans Dockter

Method Summary

Methods inherited from interface java.lang.Iterable
java.lang.Iterable#iterator()

Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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