-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbuild.gradle
62 lines (50 loc) · 1.75 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
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${SPRING_BOOT_VERSION}")
}
}
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'java'
apply plugin: "spring-boot"
idea {
module {
downloadJavadoc = true
}
}
jar.enabled = true
repositories {
mavenCentral()
jcenter()
}
sourceCompatibility = 1.8
dependencies {
/////
compile("org.springframework.boot:spring-boot-starter-web")
compile("org.springframework.boot:spring-boot-starter-thymeleaf")
compileOnly('org.projectlombok:lombok')
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: "${LIB_JACKSON_VERSION}"
compile group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: "${LIB_JACKSON_VERSION}"
compile group: 'org.apache.commons', name: 'commons-lang3', version: "${LIB_APACHE_COMMONS}"
compile group: 'commons-io', name: 'commons-io', version: "${LIB_COMMONS_IO}"
compile group: 'commons-codec', name: 'commons-codec', version: "${LIB_COMMONS_CODEC}"
compile group: 'com.squareup.retrofit2', name: 'retrofit', version: "${LIB_RETROFIT2_VERSION}"
compile group: 'com.squareup.retrofit2', name: 'converter-jackson', version: "${LIB_RETROFIT2_VERSION}"
compile group: 'com.shopify.graphql.support', name: 'support', version: "${LIB_SHOPIFY_SUPPORT}"
testCompile group: 'com.squareup.retrofit2', name: 'retrofit-mock', version: "${LIB_RETROFIT2_VERSION}"
testCompile('org.springframework.boot:spring-boot-starter-test')
testCompileOnly('org.projectlombok:lombok')
}
task integrationTest(type: Test) {
include "**/integration/**"
}
bootRepackage {
withJarTask jar
}
tasks.withType(Test) {
reports.html.destination = file("${reporting.baseDir}/${name}")
}