Package com.vaadin.flow.gradle
Class VaadinUtilsKt
-
- All Implemented Interfaces:
public final class VaadinUtilsKt
-
-
Method Summary
Modifier and Type Method Description final static Provider<Boolean>getBooleanProperty(Project $self, String propertyName)Finds the value of a boolean property. final static Provider<String>getStringProperty(Project $self, String propertyName)Finds the value of a string property. final static Unitvaadin(Project $self, Function1<VaadinFlowPluginExtension, Unit> block)Allows Kotlin-based gradle scripts to be configured via the vaadin{}DSL block:vaadin { optimizeBundle = false }-
-
Method Detail
-
getBooleanProperty
final static Provider<Boolean> getBooleanProperty(Project $self, String propertyName)
Finds the value of a boolean property. It searches in gradle and system properties.
If the property is defined in both gradle and system properties, then the system property is taken.
- Parameters:
propertyName- the property name
-
getStringProperty
final static Provider<String> getStringProperty(Project $self, String propertyName)
Finds the value of a string property. It searches in gradle and system properties.
If the property is defined in both gradle and system properties, then the system property is taken.
- Parameters:
propertyName- the property name
-
vaadin
final static Unit vaadin(Project $self, Function1<VaadinFlowPluginExtension, Unit> block)
Allows Kotlin-based gradle scripts to be configured via the
vaadin{}DSL block:vaadin { optimizeBundle = false }
-
-
-
-