mill.contrib.vaadin

Members list

Type members

Classlikes

trait VaadinModule extends JavaModule

Builds Vaadin Flow applications.

Builds Vaadin Flow applications.

Mix this trait into the Java/Kotlin/Scala module hosting the Vaadin application. run/runBackground of this module start Vaadin's development mode, pointing Vaadin at the project folder. Development-only dependencies (com.vaadin:vaadin-dev, Spring Boot devtools, ...) go into its runMvnDeps.

The production build is a sub-module extending VaadinProdModule: it adds the production frontend bundle (VaadinProdModule.vaadinFrontendBuild) to the application, leaves out this module's runMvnDeps, and provides the usual run, assembly or, with mill.javalib.repackage.RepackageModule, repackagedJar tasks for production.

The frontend build runs Vaadin's flow-plugin-base in an isolated worker classloader, in the Flow version found on the application's classpath. Flow BuildInfo.flowPluginBaseVersion or newer is required.

Attributes

Companion
object
Source
VaadinModule.scala
Supertypes
trait JavaModule
trait RunModule
trait RunModuleApi
trait BspModule
trait BspModuleApi
trait Module
trait ModuleApi
trait Wrapper
class BaseClass
trait Cacher
trait Cacher
class Object
trait Matchable
class Any
Show all
Self type
object VaadinModule

Attributes

Companion
trait
Source
VaadinModule.scala
Supertypes
class Object
trait Matchable
class Any
Self type