@Incubating public interface NativePlatform extends Platform, Describable
Architecture
and/or OperatingSystem
to target.
model { platforms { windows_x86 { architecture "i386" operatingSystem "windows" } } }
Named.Namer
Modifier and Type | Method and Description |
---|---|
void |
architecture(String name)
Sets the cpu architecture being targeted.
|
Architecture |
getArchitecture()
The cpu architecture being targeted.
|
OperatingSystem |
getOperatingSystem()
The operating system being targeted.
|
void |
operatingSystem(String name)
Sets the operating system being targeted.
|
getDisplayName, getName
getDisplayName
Architecture getArchitecture()
void architecture(String name)
The architecture is provided as a string name, which is translated into one of the supported architecture types.
Supported notations.
OperatingSystem getOperatingSystem()
void operatingSystem(String name)
The operating system is provided as a string name, which is translated into one of the supported operating system types.
Supported notations.