Excluding deps in configurations, added by plugin, in gradle

The gradle-vaadin-plugin adds its configurations, that later get used to gather the deps for the client compile run, when it runs. So one can not safely create configs and exclude deps there beforehand. But gradle let's you do even this at a later time. This fragment gets rid of springboot-starter-web, as this pulls in java-validation 1.1, which won't compile the client due to GWT restrictions.

project.afterEvaluate {
        configurations.'vaadin-client' {
                exclude module: 'spring-boot-starter-web'

See my springboot-groovy-vaadin-starter