-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathbuild.gradle
95 lines (77 loc) · 2.31 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
buildscript {
repositories {
maven { url "http://repo.spring.io/libs-release" }
maven { url "http://repo.spring.io/libs-milestone" }
mavenLocal()
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.1.1.RELEASE")
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'spring-boot'
mainClassName = "com.intuit.developer.sampleapp.timetracking.Application"
sourceSets {
main {
java {
srcDir 'src/main/java'
srcDir 'src-general/main/java'
}
resources {
srcDir 'src/main/resources'
}
}
test {
java {
srcDir 'src-general/text/java'
}
}
}
sourceCompatibility = 1.7
version = '1.0'
//custom variables for this project
project.ext {
}
repositories {
mavenLocal()
mavenCentral()
maven { url "http://repo.spring.io/libs-release" }
maven { url "http://repo.spring.io/libs-milestone" }
maven { url "https://repository.jboss.org/nexus/content/repositories/releases" }
}
dependencies {
compile fileTree(dir: "libs/qbo-sdk", include: "*.jar")
testCompile("org.jmockit:jmockit:1.12")
testCompile("org.jmockit:jmockit-coverage:1.12")
compile("org.springframework.boot:spring-boot-starter-web")
compile("org.springframework.boot:spring-boot-starter-data-jpa")
compile("org.hsqldb:hsqldb") //set the database to hyper sql
compile("org.springframework.data:spring-data-rest-webmvc")
compile("commons-io:commons-io:2.4")
compile("org.joda:joda-money:0.9.1")
compile("ma.glasnost.orika:orika-core:1.4.5")
compile('org.codehaus.jackson:jackson-core-asl:1.9.13')
compile('org.codehaus.jackson:jackson-mapper-asl:1.9.13')
testCompile("org.springframework.boot:spring-boot-starter-test")
//oauth dependencies
compile("oauth.signpost:signpost-core:1.2.1.2")
}
jar {
baseName = 'time-tracking'
version = '0.1.0'
}
task wrapper(type: Wrapper) {
gradleVersion = '1.12' //tie this buildscript to a specific version of gradle so that we get consistent behavior
}
test {
ignoreFailures = true
reports.html.enabled = false
}
sourceSets {
main {
//fixes bootRun not picking up resource files
output.resourcesDir = output.classesDir
}
}