Created
October 31, 2012 14:24
-
-
Save saltnlight5/3987305 to your computer and use it in GitHub Desktop.
hibernate-build.gradle
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
// A Gradle build script for a typical Hiberante+Spring data project. | |
// | |
// Author: Zemian Deng <[email protected]> 10/31/2012 | |
apply plugin: 'java' | |
repositories { | |
mavenLocal() | |
mavenCentral() | |
} | |
dependencies { | |
testCompile( | |
'org.hamcrest:hamcrest-library:1.3', | |
'junit:junit:4.11-beta-1', | |
'org.springframework:spring-test:3.1.0.RELEASE' | |
) | |
compile( | |
'org.slf4j:slf4j-api:1.7.1', | |
'commons-lang:commons-lang:2.6', | |
'commons-io:commons-io:2.4', | |
'org.springframework:spring-context-support:3.1.0.RELEASE', | |
'org.springframework:spring-jdbc:3.1.0.RELEASE', | |
'org.springframework:spring-orm:3.1.0.RELEASE', | |
'org.springframework:spring-tx:3.1.0.RELEASE', | |
'cglib:cglib:2.2.2', | |
'org.hibernate:hibernate-core:4.0.0.Final', | |
'org.hibernate:hibernate-ehcache:4.0.0.Final', | |
'com.h2database:h2:1.3.163' | |
) | |
runtime( | |
'org.slf4j:slf4j-log4j12:1.7.1' | |
) | |
} | |
apply plugin: 'eclipse' | |
eclipse.classpath.defaultOutputDir = new File(buildDir, 'eclipse-output') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment