We use Vaadin 7 with Spring Boot extensively and would like to start to test Vaadin 8. But we cant to get it work with Gradle. The very simple gradle config (below) raises dependecy error like this:
https://maven.vaadin.com/vaadin-prereleases/com/vaadin/vaadin-spring-boot/2.0-SNAPSHOT/vaadin-spring-boot-2.0-SNAPSHOT.pom
It seems to me there is some internal dependency to 2.0-SNAPSHOT version. Is there anyone having working Spring Boot + Vaadin 8 configuration that can share?
buildscript {
ext {
springBootVersion = '1.4.4.RELEASE'
}
repositories {
mavenCentral()
maven { url "https://maven.vaadin.com/vaadin-prereleases" }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
jar {
baseName = 'vaadin8'
version = '0.0.1-SNAPSHOT'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
maven { url "https://maven.vaadin.com/vaadin-prereleases" }
}
dependencies {
compile('org.springframework.boot:spring-boot-starter-web')
compile('com.vaadin:vaadin-spring-boot-starter:2.0.0.beta1')
testCompile('org.springframework.boot:spring-boot-starter-test')
}
dependencyManagement {
imports {
mavenBom "com.vaadin:vaadin-bom:8.0.0.beta1"
}
}