Skip to content

Commit b374798

Browse files
committed
add build.gradle
1 parent 9d27a94 commit b374798

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

build.gradle

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
buildscript {
2+
repositories {
3+
mavenCentral()
4+
}
5+
dependencies {
6+
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.3.5.RELEASE")
7+
}
8+
}
9+
10+
apply plugin: 'java'
11+
apply plugin: 'eclipse'
12+
apply plugin: 'idea'
13+
apply plugin: 'spring-boot'
14+
15+
jar {
16+
baseName = 'sample-app-webhooks-java'
17+
version = '0.1.0'
18+
}
19+
20+
repositories {
21+
mavenCentral()
22+
}
23+
24+
sourceCompatibility = 1.8
25+
targetCompatibility = 1.8
26+
27+
dependencies {
28+
compile("org.springframework.boot:spring-boot-starter-web")
29+
compile('org.codehaus.jackson:jackson-core-asl:1.9.13')
30+
compile('org.codehaus.jackson:jackson-mapper-asl:1.9.13')
31+
compile fileTree(dir: "lib/qbo-sdk-2.5.0", include: "*.jar")
32+
compile("org.springframework.boot:spring-boot-starter-data-jpa")
33+
compile("com.h2database:h2"); //set the database to hyper sql
34+
compile("org.springframework.boot:spring-boot-starter-data-rest")
35+
compile("org.springframework.data:spring-data-rest-webmvc")
36+
compile("org.springframework:spring-test:4.1.4.RELEASE")
37+
compile("org.mockito:mockito-all:1.10.19")
38+
testCompile("org.hamcrest:hamcrest-all:1.3")
39+
testCompile("junit:junit:4.11")
40+
testCompile('org.springframework.boot:spring-boot-starter-test')
41+
}
42+
43+
task wrapper(type: Wrapper) {
44+
gradleVersion = '2.3'
45+
}

0 commit comments

Comments
 (0)