forked from floing/spring-in-action-4
/
build.gradle
29 lines (24 loc) · 814 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
apply plugin: 'eclipse'
apply plugin: 'java'
dependencies {
compile "org.springframework:spring-context:$springVersion"
compile "org.springframework:spring-orm:$springVersion"
compile "org.hibernate:hibernate-entitymanager:$hibernateEntityManagerVersion"
compile "com.h2database:h2:$h2Version"
compile "javax.inject:javax.inject:1"
testCompile "junit:junit-dep:$junitVersion"
testCompile "org.springframework:spring-test:$springVersion"
}
repositories {
maven { url 'http://maven.springframework.org/release' }
maven { url 'http://maven.springframework.org/milestone' }
maven { url 'http://maven.springframework.org/snapshot' }
maven { url 'http://download.java.net/maven/2' }
mavenCentral()
}
task wrapper(type: Wrapper) {
gradleVersion = '2.1'
}
jar {
baseName = 'spittr'
}