Interface OperatingSystem

All Superinterfaces:
org.gradle.api.Named

public interface OperatingSystem extends org.gradle.api.Named
This attribute is used to differentiate between the different native libraries used by Minecraft.

The client in particular uses a rule-based system to declare dependencies that only apply to certain operating systems. We model libraries that are declared using such rules by using this attribute.

See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.gradle.api.Named

    org.gradle.api.Named.Namer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.gradle.api.attributes.Attribute<OperatingSystem>
     
    static final String
     
    static final String
     
    static final String
     
  • Method Summary

    Methods inherited from interface org.gradle.api.Named

    getName