Class Platform

java.lang.Object
com.cleanroommc.gradle.api.util.Platform

public final class Platform extends Object
  • Field Details

    • CURRENT

      public static final Platform CURRENT
  • Method Details

    • fixCommandLine

      public static String fixCommandLine(String cmdlineArg)
    • lwjglNativesClassifiers

      public static List<String> lwjglNativesClassifiers()
      Every distinct native classifier produced by lwjglNativesClassifier().
    • nativePlatforms

      public static List<Platform> nativePlatforms()
    • joinLibraryPath

      public static String joinLibraryPath(String existing, File extra)
      Joins an existing java.library.path with a natives directory using the host separator.
    • getOperatingSystem

      public Platform.OperatingSystem getOperatingSystem()
    • getArchitecture

      public Platform.Architecture getArchitecture()
    • canonicalNativePlatform

      public Platform canonicalNativePlatform()
    • operatingSystemFamily

      public String operatingSystemFamily()
    • machineArchitecture

      public String machineArchitecture()
    • lwjglNativesClassifier

      public String lwjglNativesClassifier()