Need help to get Spring Boot and Vaadin 8 to get to work ...

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

We are Using Spring boot with Vaadin 8 with the ‘com.vaadin:vaadin-bom:8.0.0.beta1’ maven bom and the following Vaadin Spring Boot dependency:
com.vaadin:vaadin-spring-boot-starter:2.0-SNAPSHOT

Here is what I use, builds fine with Vaadin 8

plugins {
    id 'fi.jasoft.plugin.vaadin' version '1.1.2'
    id 'org.springframework.boot' version '1.4.4.RELEASE'
}

dependencies {
    compile 'com.vaadin:vaadin-spring-boot-starter:2.0-SNAPSHOT'  
}

jar {
    baseName = 'myapp'
    version = '0.0.1-SNAPSHOT'

    // To include resources from webapp
    from 'src/main/webapp'
}

springBoot {
  // Main class of @SpringBootApplication
  mainClass = 'com.example.test.Application'
}

bootRun {
    // Needed by Vaadin plugin (https://github.com/johndevs/gradle-vaadin-plugin/issues/325)
    classpath += configurations['vaadin-server']

    classpath += configurations['vaadin-client']

    dependsOn 'vaadinCompile', 'vaadinThemeCompile'
}

Cheers,
John

This starter is not available anymore …

Thanx for the hint.
I have changed the dependency to ‘com.vaadin:vaadin-spring-boot-starter:2.0.0.beta1’.
The Repository is ‘https://maven.vaadin.com/vaadin-prereleases’.

Cant get it to work. There must be something wrong in dependencies as it requires
https://maven.vaadin.com/vaadin-prereleases/com/vaadin/vaadin-spring-boot/2.0-SNAPSHOT/vaadin-spring-boot-2.0-SNAPSHOT.jar
even I reference 8.0.0.beta1 but there is no such thing here
https://maven.vaadin.com/vaadin-prereleases/com/vaadin/vaadin-spring-boot

This is was works for us:

buildscript {
repositories {
jcenter()
}
dependencies {
classpath “io.spring.gradle:dependency-management-plugin:0.6.1.RELEASE”
classpath(“org.springframework.boot:spring-boot-gradle-plugin:1.4.2.RELEASE”)
}
}

plugins {
id “fi.jasoft.plugin.vaadin” version “1.1.2”
}

apply plugin: ‘io.spring.dependency-management’
apply plugin: ‘org.springframework.boot’
apply plugin: ‘fi.jasoft.plugin.vaadin’

repositories {
maven { url “https://maven.vaadin.com/vaadin-prereleases” }
maven { url “http://maven.vaadin.com/vaadin-addons” }
}

dependencyManagement {
imports {
mavenBom ‘com.vaadin:vaadin-bom:8.0.0.beta1’
}
}

configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details →
if (details.requested.group == ‘org.springframework’) {
details.useVersion ‘4.3.5.RELEASE’
}
}
}

dependencies {
compile(
// Spring
‘org.springframework.boot:spring-boot-starter’,
‘org.springframework.boot:spring-boot-starter-validation’,
‘org.springframework.boot:spring-boot-starter-security’,
‘org.springframework.security:spring-security-web:4.2.1.RELEASE’,
‘org.springframework.security:spring-security-config:4.2.1.RELEASE’,
‘org.springframework.boot:spring-boot-starter-mail’,

    // Vaadin Spring Boot
    'com.vaadin:vaadin-spring-boot-starter:2.0.0.beta1',

    // Vaadin Spring
    'org.vaadin.spring.extensions:vaadin-spring-ext-core:0.0.8-SNAPSHOT',
    'org.vaadin.spring.extensions:vaadin-spring-ext-boot:0.0.8-SNAPSHOT',
    'org.vaadin.spring.extensions:vaadin-spring-ext-security:0.0.8-SNAPSHOT',
    'org.vaadin.spring.addons:vaadin-spring-addon-eventbus:0.0.8-SNAPSHOT',
    'org.vaadin.spring.addons:vaadin-spring-addon-sidebar:0.0.8-SNAPSHOT',

)

}

springBoot {
mainClass = ‘xxx.Application’
}

// Configure bootRun to ensure the widgetset and theme is compiled
// macht schon biocontrol-theme?: bootRun.dependsOn ‘vaadinCompile’, ‘vaadinThemeCompile’

bootRepackage {
bootRepackage.withJarTask = jar
mainClass = ‘xxx.Application’
}

Adding

maven { url "https://oss.sonatype.org/content/repositories/vaadin-snapshots" } to repositories in build.gradle solved the issue …