Prevent sagan-common from having Spring 3.2.x on its classpath
Prevent sagan-common from having Spring 3.2.x on its classpath

Spring Social GitHub has a transitive dependency on spring-webmvc
3.2.x. In the absence of any other spring-webmvc dependency, this
causes a mixture of Spring 3.2.x and Spring 4.0.x to be on
sagan-common's classpath.

This commit adds an explicit dependency on spring-webmvc. No version
number is specified to allow the version to be determined by the
Spring Boot plugin.

An alternative approach would be to use a resolution strategy:

configurations.all {
    resolutionStrategy {
        eachDependency {
            if (it.details.requested.group == 'org.springframework') {
                details.useVersion '4.0.5.RELEASE'
            }
        }
    }
}

Unfortunately, this approach requires you to specify the version of
Spring that you want to use, thereby preventing you from automatically
using the version that's provided by the Spring Boot plugin. There's
an issue open (spring-projects/spring-boot#932) to make the versions
available as properties, but, until that functionality is available,
I think the change made in this commit is the best solution.

seoilhyun/sagan,rwinch/sagan,BHASKARSDEN277GITHUB/sagan,dharmaraju/sagan,dvaughn555/sagan,amit-siddhu/sagan,amit-siddhu/sagan,dsyer/sagan,andriykonoz/sagan,gregturn/sagan,eonezhang/sagan,seoilhyun/sagan,dlizarra/sagan,dkushner/sagan,spring-io/sagan,BHASKARSDEN277GITHUB/sagan,yhj630520/sagan,garylgh/sagan,andriykonoz/sagan,mbateman/sagan,spring-io/sagan,eonezhang/sagan,amit-siddhu/sagan,andriykonoz/sagan,dharmaraju/sagan,dvaughn555/sagan,BHASKARSDEN277GITHUB/sagan,garylgh/sagan,mbateman/sagan,dkushner/sagan,yhj630520/sagan,TabberGit/sagan,seoilhyun/sagan,dsyer/sagan,TabberGit/sagan,garylgh/sagan,dkushner/sagan,dkushner/sagan,lowtalker/sagan,andriykonoz/sagan,mbateman/sagan,lowtalker/sagan,rwinch/sagan,dsyer/sagan,martinlippert/sagan,dvaughn555/sagan,gregturn/sagan,rwinch/sagan,vizewang/sagan,mbateman/sagan,garylgh/sagan,martinlippert/sagan,TabberGit/sagan,vizewang/sagan,TabberGit/sagan,dlizarra/sagan,gregturn/sagan,dlizarra/sagan,dharmaraju/sagan,seoilhyun/sagan,dharmaraju/sagan,dvaughn555/sagan,spring-io/sagan,vizewang/sagan,spring-io/sagan,eonezhang/sagan,BHASKARSDEN277GITHUB/sagan,dsyer/sagan,eonezhang/sagan,martinlippert/sagan,martinlippert/sagan,dlizarra/sagan,yhj630520/sagan,yhj630520/sagan,rwinch/sagan,amit-siddhu/sagan,lowtalker/sagan,lowtalker/sagan,vizewang/sagan