Package dev.architectury.loom.util
Class PropertyUtil
java.lang.Object
dev.architectury.loom.util.PropertyUtil
Working with properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T,P extends org.gradle.api.provider.Provider<T> & org.gradle.api.provider.HasConfigurableValue>
TgetAndFinalize(P property) Gets a property and finalizes its value.
-
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
-