Created
March 30, 2015 09:12
-
-
Save wilkinsona/13618eb4cc4b78b2eb49 to your computer and use it in GitHub Desktop.
Gradle configuration to use Spring Data Fowler with Spring Boot 1.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
jcenter() | |
} | |
dependencies { | |
classpath 'io.spring.gradle:dependency-management-plugin:0.4.1.RELEASE' | |
classpath 'org.springframework.boot:spring-boot-gradle-plugin:1.2.2.RELEASE' | |
} | |
} | |
repositories { | |
jcenter() | |
} | |
apply plugin: 'spring-boot' | |
apply plugin: 'io.spring.dependency-management' | |
// Import Spring Boot's bom, spring-boot-dependencies | |
dependencyManagement { | |
imports { | |
mavenBom 'org.springframework.boot:spring-boot-dependencies:1.2.2.RELEASE' | |
} | |
} | |
// Override the spring-data-releasetrain.version property | |
ext['spring-data-releasetrain.version'] = 'Fowler-RELEASE' | |
dependencies { | |
compile 'org.springframework.boot:spring-boot-starter-data-jpa' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment