From acf424bd2e8181eaf9c4ac8347f3525a808f4141 Mon Sep 17 00:00:00 2001 From: Oleh Dokuka Date: Wed, 10 Oct 2018 18:54:26 +0300 Subject: [PATCH] update version and provide dependency on to Reactor Snapshot Signed-off-by: Oleh Dokuka --- build.gradle | 13 +++++++++++-- gradle.properties | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 342a94954..e20a21917 100644 --- a/build.gradle +++ b/build.gradle @@ -21,7 +21,7 @@ plugins { id 'com.jfrog.artifactory' version '4.7.0' id 'com.jfrog.bintray' version '1.8.0' id 'me.champeau.gradle.jmh' version '0.4.5' apply false - id 'io.spring.dependency-management' version '1.0.4.RELEASE' apply false + id 'io.spring.dependency-management' version '1.0.6.RELEASE' apply false id 'io.morethan.jmhreport' version '0.7.0' apply false } @@ -30,7 +30,12 @@ subprojects { dependencyManagement { imports { - mavenBom 'io.projectreactor:reactor-bom:Californium-RELEASE' + if (version.endsWith('BUILD-SNAPSHOT') || project.hasProperty('platformVersion')) { + mavenBom 'io.projectreactor:reactor-bom:Californium-BUILD-SNAPSHOT' + } + else { + mavenBom 'io.projectreactor:reactor-bom:Californium-RELEASE' + } } dependencies { @@ -68,6 +73,10 @@ subprojects { repositories { mavenCentral() + + if (version.endsWith('BUILD-SNAPSHOT') || project.hasProperty('platformVersion')) { + maven { url 'http://repo.spring.io/libs-snapshot' } + } } plugins.withType(JavaPlugin) { diff --git a/gradle.properties b/gradle.properties index 34dbb3a6c..fa712b6c5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -11,4 +11,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -version=0.11.0.BUILD-SNAPSHOT +version=0.11.9.BUILD-SNAPSHOT \ No newline at end of file