Use BOM for quickstart.
fixes gh-165
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
dependencies {
|
||||
compile '{@= groupId @}:spring-cloud-starter-consul-all:{@= version @}'
|
||||
compile('{@= groupId @}:spring-cloud-starter-consul-all')
|
||||
}
|
||||
|
||||
dependencyManagement {
|
||||
imports {
|
||||
mavenBom "{@= groupId @}:spring-cloud-dependencies:{@= version @}"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -2,6 +2,17 @@
|
||||
<dependency>
|
||||
<groupId>{@= groupId @}</groupId>
|
||||
<artifactId>spring-cloud-starter-consul-all</artifactId>
|
||||
<version>{@= version @}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>{@= groupId @}</groupId>
|
||||
<artifactId>spring-cloud-dependencies</artifactId>
|
||||
<version>{@= version @}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
Reference in New Issue
Block a user