-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
45 lines (37 loc) · 1.25 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
buildscript {
ext {
bootVersion = '1.1.0.RELEASE'
}
repositories {
mavenCentral()
maven { url "http://repo.spring.io/release" }
mavenLocal()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${bootVersion}")
}
}
apply plugin: 'java'
apply plugin: 'spring-boot'
apply plugin: 'war'
sourceCompatibility = 1.7
version = '1.0'
bootVersion = '1.1.0.RELEASE'
repositories {
mavenCentral()
maven { url "http://repo.spring.io/libs-release" }
}
configurations {
providedRuntime
}
dependencies {
compile("org.springframework.boot:spring-boot-starter-web:${bootVersion}")
compile("org.springframework.boot:spring-boot-starter-social-twitter:${bootVersion}")
//compile("org.springframework.boot:spring-boot-starter-thymeleaf:${bootVersion}")
//compile("org.springframework.boot:spring-boot-starter-security:${bootVersion}")
compile("org.springframework.boot:spring-boot-starter-actuator:${bootVersion}")
compile("org.springframework.boot:spring-boot-starter-data-jpa")
compile("com.h2database:h2")
//providedRuntime("org.springframework.boot:spring-boot-starter-tomcat:${bootVersion}")
testCompile group: 'junit', name: 'junit', version: '4.11'
}