forked from olsson/spring-boot-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
29 lines (25 loc) · 801 Bytes
/
Copy pathbuild.gradle
File metadata and controls
29 lines (25 loc) · 801 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
buildscript {
repositories {
maven { url "http://repo.spring.io/libs-snapshot" }
mavenCentral()
}
dependencies {
classpath 'org.springframework.boot:spring-boot-gradle-plugin:1.2.3.RELEASE'
}
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'spring-boot'
sourceCompatibility = 1.8
version = '1.0'
repositories {
mavenCentral()
maven { url "http://repo.spring.io/milestone" }
}
dependencies {
compile 'org.springframework.boot:spring-boot-starter-web:1.2.3.RELEASE'
compile 'org.springframework.boot:spring-boot-starter-actuator:1.2.3.RELEASE'
compile 'org.springframework.cloud:spring-cloud-starter-hystrix:1.0.0.RELEASE'
testCompile group: 'junit', name: 'junit', version: '4.11'
}
task stage(dependsOn: bootRepackage) { }