Skip to content

Instantly share code, notes, and snippets.

@jbrackett
Created February 10, 2014 22:35
Show Gist options
  • Save jbrackett/8925645 to your computer and use it in GitHub Desktop.
Save jbrackett/8925645 to your computer and use it in GitHub Desktop.
Build file for spring-data-jpa tutorial
apply plugin: "java"
apply plugin: "eclipse"
apply plugin: "idea"
sourceCompatibility = 1.7
repositories {
mavenCentral()
}
ext {
hibernateVersion="4.3.1.Final"
springVersion="4.0.1.RELEASE"
}
dependencies {
compile "org.springframework:spring-context:$springVersion"
compile "org.springframework:spring-core:$springVersion"
compile "org.springframework:spring-jdbc:$springVersion"
compile "org.springframework:spring-orm:$springVersion"
compile "org.springframework:spring-tx:$springVersion"
compile 'org.springframework.data:spring-data-jpa:1.4.3.RELEASE'
compile "org.hibernate:hibernate-core:$hibernateVersion"
compile "org.hibernate:hibernate-entitymanager:$hibernateVersion"
compile 'org.hsqldb:hsqldb:2.3.0'
testCompile 'junit:junit:4.11'
testCompile "org.springframework:spring-test:$springVersion"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment