Browse Source

Merge pull request #71 from rwinch/gradle-2.12

Update to Gradle 2.12
pull/1111/head
Arjen Poutsma 10 years ago
parent
commit
a874aa4db9
  1. 18
      spring-web-reactive/build.gradle
  2. 2
      spring-web-reactive/gradle/wrapper/gradle-wrapper.properties

18
spring-web-reactive/build.gradle

@ -26,17 +26,13 @@ repositories { @@ -26,17 +26,13 @@ repositories {
maven { url 'http://repo.spring.io/snapshot' } // Reactor snapshot
}
configurations.all {
// check for updates every build
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
ext {
springVersion = '4.2.3.RELEASE'
reactorVersion = '2.5.0.M2'
reactorNettyVersion = '2.5.0.BUILD-SNAPSHOT'
tomcatVersion = '8.0.28'
jettyVersion = '9.3.5.v20151012'
nettyVersion = '4.1.0.CR3'
javadocLinks = [
"http://docs.oracle.com/javase/8/docs/api/",
@ -46,6 +42,18 @@ ext { @@ -46,6 +42,18 @@ ext {
] as String[]
}
configurations.all {
// check for updates every build
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
// consistent netty version to avoid issues with clashes in netty-all vs
// netty-common for example
if (details.requested.group == 'io.netty') {
details.useVersion nettyVersion
}
}
}
uploadArchives {
repositories {
mavenDeployer {

2
spring-web-reactive/gradle/wrapper/gradle-wrapper.properties vendored

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.12-all.zip

Loading…
Cancel
Save