Class PropertyUtil

java.lang.Object
dev.architectury.loom.util.PropertyUtil

public final class PropertyUtil extends Object
Working with properties.
  • Constructor Details

    • PropertyUtil

      public PropertyUtil()
  • Method Details

    • getAndFinalize

      public static <T, P extends org.gradle.api.provider.Provider<T> & org.gradle.api.provider.HasConfigurableValue> T getAndFinalize(P property)
      Gets a property and finalizes its value.
      Type Parameters:
      T - the value type
      Parameters:
      property - the property
      Returns:
      the current property value