1
1
// tag::propdeps-plugin-1[]
2
2
buildscript {
3
3
ext {
4
- springBootVersion = ' 1.4.3.RELEASE'
4
+ springBootVersion = ' 2.0.0.BUILD-SNAPSHOT'
5
+ thymeleafVersion = ' 3.0.4-SNAPSHOT'
5
6
}
6
7
repositories {
7
8
mavenCentral()
@@ -16,9 +17,13 @@ buildscript {
16
17
}
17
18
// end::propdeps-plugin-1[]
18
19
19
- // plugins {
20
- // id "com.gorylenko.gradle-git-properties" version "1.4.17"
21
- // }
20
+ plugins {
21
+ id " io.spring.dependency-management" version " 1.0.0.RC2"
22
+
23
+ // tag::gradle-git[]
24
+ id " com.gorylenko.gradle-git-properties" version " 1.4.17"
25
+ // end::gradle-git[]
26
+ }
22
27
23
28
apply plugin : ' java'
24
29
apply plugin : ' eclipse'
@@ -39,6 +44,7 @@ repositories {
39
44
maven { url " https://repo.spring.io/snapshot" }
40
45
maven { url " https://repo.spring.io/milestone" }
41
46
maven { url " https://repo.spring.io/release" }
47
+ maven { url " https://oss.sonatype.org/content/repositories/snapshots/" }
42
48
maven { url " https://dl.bintray.com/rabbitmq/maven-milestones/" }
43
49
}
44
50
47
53
version = ' 0.0.1-SNAPSHOT'
48
54
}
49
55
56
+ ext[' thymeleaf.version' ] = thymeleafVersion
57
+
50
58
dependencies {
59
+ compile(' org.springframework.boot:spring-boot-starter-webflux' )
51
60
compile(' org.springframework.boot:spring-boot-starter-actuator' )
52
- compile(' org.springframework.boot:spring-boot-starter- thymeleaf' )
61
+ compile(" org.thymeleaf: thymeleaf-spring5: ${ thymeleafVersion } " )
53
62
compile(' org.springframework.boot:spring-boot-devtools' )
54
63
compile(' org.projectlombok:lombok' )
55
64
compile(' org.springframework.cloud:spring-cloud-starter-stream-rabbit' )
@@ -80,9 +89,6 @@ dependencies {
80
89
compile(' org.thymeleaf.extras:thymeleaf-extras-springsecurity4:2.1.3.RELEASE' )
81
90
// end::thymeleaf-security[]
82
91
83
- compile(" io.projectreactor:reactor-core:2.0.8.RELEASE" )
84
- compile(" io.projectreactor:reactor-net:2.0.8.RELEASE" )
85
-
86
92
// tag::configuration-processor[]
87
93
optional " org.springframework.boot:spring-boot-configuration-processor"
88
94
// end::configuration-processor[]
@@ -96,6 +102,7 @@ compileJava.dependsOn(processResources)
96
102
97
103
dependencyManagement {
98
104
imports {
99
- mavenBom " org.springframework.cloud:spring-cloud-dependencies:Camden.SR2"
105
+ mavenBom " io.projectreactor:reactor-bom:Aluminium-SR1"
106
+ mavenBom " org.springframework.cloud:spring-cloud-dependencies:Dalston.BUILD-SNAPSHOT"
100
107
}
101
108
}
0 commit comments