Class VaadinUtilsKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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 Unit vaadin(Project $self, Function1<VaadinFlowPluginExtension, Unit> block) Allows Kotlin-based gradle scripts to be configured via the vaadin{} DSL block:
      vaadin {
        optimizeBundle = false
      }
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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
        }