Schnittstelle NativePlatform
- Alle Superschnittstellen:
Describable,Named,Platform
A target platform for building native binaries. Each target platform is given a name, and may optionally be given
a specific
Architecture and/or OperatingSystem to target.
model {
platforms {
windows_x86 {
architecture "i386"
operatingSystem "windows"
}
}
}
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.gradle.api.Named
Named.Namer -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidarchitecture(String name) Sets the cpu architecture being targeted.The cpu architecture being targeted.The operating system being targeted.voidoperatingSystem(String name) Sets the operating system being targeted.Von Schnittstelle geerbte Methoden org.gradle.api.Describable
getDisplayNameVon Schnittstelle geerbte Methoden org.gradle.platform.base.Platform
getDisplayName, getName
-
Methodendetails
-
getArchitecture
Architecture getArchitecture()The cpu architecture being targeted. Defaults to the default architecture produced by the tool chain. -
architecture
Sets the cpu architecture being targeted.The architecture is provided as a string name, which is translated into one of the supported architecture types.
- Siehe auch:
-
getOperatingSystem
OperatingSystem getOperatingSystem()The operating system being targeted. Defaults to the default operating system targeted by the tool chain (normally the current operating system). -
operatingSystem
Sets the operating system being targeted.The operating system is provided as a string name, which is translated into one of the supported operating system types.
- Siehe auch:
-