public class PlatformParametersSpec
extends java.lang.Object
PlatformParameters objects to the list property of the same type.| Constructor and Description |
|---|
PlatformParametersSpec(org.gradle.api.model.ObjectFactory objectFactory,
org.gradle.api.provider.ListProperty<PlatformParameters> platforms) |
| Modifier and Type | Method and Description |
|---|---|
void |
platform(org.gradle.api.Action<? super PlatformParameters> action)
Adds a new platform configuration to the platforms list.
|
@Inject
public PlatformParametersSpec(org.gradle.api.model.ObjectFactory objectFactory,
org.gradle.api.provider.ListProperty<PlatformParameters> platforms)
public void platform(org.gradle.api.Action<? super PlatformParameters> action)
action - closure representing a platform configuration