Package st.orm.gradle
Class PreviewArgs
java.lang.Object
st.orm.gradle.PreviewArgs
- All Implemented Interfaces:
org.gradle.process.CommandLineArgumentProvider
public final class PreviewArgs
extends Object
implements org.gradle.process.CommandLineArgumentProvider
Contributes
--enable-preview when enabled. Lazy, so the extension can be configured after the
plugin is applied.-
Method Summary
Modifier and TypeMethodDescriptionorg.gradle.api.provider.Provider<Boolean> Whether the preview arguments are contributed to the task they are attached to.
-
Method Details
-
getEnabled
Whether the preview arguments are contributed to the task they are attached to.- Returns:
- whether preview arguments are enabled.
-
asArguments
- Specified by:
asArgumentsin interfaceorg.gradle.process.CommandLineArgumentProvider
-