public interface MultiPlatform extends NamedPlatform
A multiplatform is a platform that has a base platform and multiple nested platforms. When this platform is used in the context that expects a single platform the base platform is used to match the constraints.
Modifier and Type | Method and Description |
---|---|
Platform |
getBasePlatform()
Access base platform of this platform, for example, CPU-neutral Android platform
|
com.google.common.collect.ImmutableCollection<NamedPlatform> |
getNestedPlatforms()
Access nested platforms, for example, per-CPU platforms for Android platform
|
default boolean |
matchesAll(Collection<ConstraintValue> constraintValues,
DependencyStack dependencyStack) |
getBuildTarget
default boolean matchesAll(Collection<ConstraintValue> constraintValues, DependencyStack dependencyStack)
matchesAll
in interface Platform
true
if the current platform matches the provided constraints.Platform getBasePlatform()
com.google.common.collect.ImmutableCollection<NamedPlatform> getNestedPlatforms()