Files
spring-data-examples/bom/build.gradle
2015-05-20 14:00:22 +02:00

33 lines
648 B
Groovy

buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'io.spring.gradle:dependency-management-plugin:0.5.0.RELEASE'
}
}
apply plugin: 'io.spring.dependency-management'
apply plugin: 'java'
ext {
springVersion = '4.1.6.RELEASE'
springDataVersion = 'Fowler-RELEASE'
}
repositories {
jcenter()
}
dependencyManagement {
imports {
mavenBom "org.springframework:spring-framework-bom:${springVersion}"
mavenBom "org.springframework.data:spring-data-releasetrain:${springDataVersion}"
}
}
dependencies {
compile 'org.springframework.data:spring-data-rest-webmvc'
compile 'org.springframework.data:spring-data-mongodb'
}