Whenever you want to produce a minified "production" version of your code pass in -Pproduction=true
or -Pprod=true
to your build command.
- generatePotFile - Generates a
src/frontendMain/resources/i18n/messages.pot
translation template file.
- compileKotlinFrontend - Compiles frontend sources.
- compileKotlinBackend - Compiles backend sources.
- frontendRun - Starts a webpack dev server on port 3000
- backendRun - Starts a dev server on port 8080
- frontendBrowserWebpack - Bundles the compiled js files into
build/distributions
- frontendJar - Packages a standalone "web" frontend jar with all required files into
build/libs/*.jar
- backendJar - Packages a backend jar with compiled source files into
build/libs/*.jar
- jar - Packages a "fat" jar with all backend sources and dependencies while also embedding frontend resources into
build/libs/*.jar