Building Spring Boot Vaadin applications with Gradle

Alright, so you have been bitten by the Spring Boot bug and want to write your Vaadin applications using Spring Boot and Gradle. How would you get started? 1. Create a Gradle Spring Boot project First off create a standard Gradle project with a build.gradle file and nothing else and add the following to build.gradle: // build.gradle plugins { id 'com.devsoap.plugin.vaadin' version '1.2.1' id 'org.springframework.boot' version '1.5.3.RELEASE' } jar { baseName = 'myapp' version = '0.0.1-SNAPSHOT' } springBoot { // Main class of @SpringBootApplication mainClass = 'com.example.test.Application' } 2. Initialize project Now, to »