Package org.gradle.platform
Class BuildPlatformFactory
java.lang.Object
org.gradle.platform.BuildPlatformFactory
Factory for creating
BuildPlatform instances.- Since:
- 8.13
-
Method Summary
Modifier and TypeMethodDescriptionstatic BuildPlatformof(Architecture architecture, OperatingSystem os) Creates a newBuildPlatforminstance with the given architecture and operating system.
-
Method Details
-
of
Creates a newBuildPlatforminstance with the given architecture and operating system.- Parameters:
architecture- the architecture of the platformos- the operating system of the platform- Returns:
- the new
BuildPlatforminstance - Since:
- 8.13
-