build.gradle and pom.xml

This commit is contained in:
Spencer Gibb
2017-08-23 16:02:18 -06:00
parent 35ac6c8ca9
commit 25d31401ec
2 changed files with 34 additions and 0 deletions

17
_includes/build.gradle Normal file
View File

@@ -0,0 +1,17 @@
buildscript {
dependencies {
classpath "io.spring.gradle:dependency-management-plugin:1.0.3.RELEASE"
}
}
apply plugin: "io.spring.dependency-management"
dependencyManagement {
imports {
mavenBom '{@= groupId @}:spring-cloud-gateway:{@= version @}'
}
}
dependencies {
compile '{@= groupId @}:spring-cloud-starter-gateway'
}

17
_includes/pom.xml Normal file
View File

@@ -0,0 +1,17 @@
<dependencyManagement>
<dependencies>
<dependency>
<groupId>{@= groupId @}</groupId>
<artifactId>spring-cloud-gateway</artifactId>
<version>{@= version @}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>{@= groupId @}</groupId>
<artifactId>spring-cloud-starter-gateway</artifactId>
</dependency>
</dependencies>