-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
executable file
·41 lines (35 loc) · 919 Bytes
/
build.gradle
File metadata and controls
executable file
·41 lines (35 loc) · 919 Bytes
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
30
31
32
33
34
35
36
37
38
39
40
41
buildscript {
ext {
springBootVersion = '1.1.6.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
//Manages versions of all spring boot dependencies.
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'spring-boot'
jar {
baseName = 'springboot-example'
version = '0.0.1-SNAPSHOT'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
compile 'org.springframework.boot:spring-boot-starter-data-jpa:1.1.6.RELEASE'
compile 'org.springframework.boot:spring-boot-starter-data-rest:1.1.6.RELEASE'
compile 'org.springframework.data:spring-data-rest-webmvc:2.2.0.RELEASE'
compile("com.h2database:h2")
testCompile 'org.springframework.boot:spring-boot-starter-test:1.1.6.RELEASE'
}
task wrapper(type: Wrapper) {
gradleVersion = '2.0'
}