-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
59 lines (47 loc) · 1.55 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
buildscript {
repositories {
maven { url "http://repo.spring.io/libs-release" }
mavenLocal()
}
dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:1.1.4.RELEASE") }
}
apply plugin: "java"
apply plugin: "eclipse"
apply plugin: "eclipse-wtp"
apply plugin: "idea"
apply plugin: "spring-boot"
apply plugin: "war"
sourceCompatibility = 1.7
targetCompatibility = 1.7
jar {
baseName = "spring-rest-todos"
version = "0.1.0"
}
repositories {
mavenLocal()
mavenCentral()
maven { url "http://repo.spring.io/libs-snapshot" }
maven { url "http://repo.spring.io/libs-release" }
}
dependencies {
compile("org.springframework.boot:spring-boot-starter-web")
compile("org.springframework.boot:spring-boot-starter-data-jpa")
compile("org.springframework.sync:spring-sync:1.0.0.BUILD-SNAPSHOT")
compile("com.h2database:h2")
compile("com.fasterxml.jackson.core:jackson-databind")
compile("commons-lang:commons-lang:2.6")
compile fileTree(dir: 'libs', include: '*.jar')
compile("com.github.fge:jackson-coreutils:1.5")
compile("com.googlecode.java-diff-utils:diffutils:1.2.1")
testCompile("org.springframework.boot:spring-boot-starter-test")
testCompile("com.jayway.jsonpath:json-path:0.8.1")
testCompile("com.jayway.jsonpath:json-path-assert:0.8.1")
}
task wrapper(type: Wrapper) { gradleVersion = "2.0" }
task clientInstall(type:Exec) {
logging.captureStandardOutput LogLevel.INFO
logging.captureStandardError LogLevel.LIFECYCLE
workingDir './src/main/resources/public'
commandLine 'bower', 'install'
}
war.dependsOn clientInstall