-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathbuild.gradle
86 lines (66 loc) · 2.21 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
plugins {
id 'java'
id 'org.springframework.boot' version '2.1.1.RELEASE'
}
group = 'com.longcoding'
version = '1.0-SNAPSHOT'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
springBoot {
mainClassName = 'com.longcoding.moon.MoonApplication'
}
repositories {
mavenCentral()
maven { url 'http://oss.jfrog.org/artifactory/oss-snapshot-local/' }
maven { url 'https://plugins.gradle.org/m2/' }
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'jacoco'
dependencies {
compile('org.springframework.boot:spring-boot-starter-web') {
//exclude group: 'org.springframework.boot', module: 'spring-boot-starter-tomcat'
}
//compile('org.springframework.boot:spring-boot-starter-jetty')
// lombok
compile('org.projectlombok:lombok')
annotationProcessor ('org.projectlombok:lombok')
compile('org.apache.commons:commons-lang3')
compile('org.apache.commons:commons-text:1.6')
// MySQL
compile('mysql:mysql-connector-java')
compile('org.springframework.boot:spring-boot-starter-data-jpa')
// logback condition
compile('org.codehaus.janino:janino:3.0.11')
compile('org.apache.logging.log4j:log4j-api:2.11.1')
compile('org.apache.logging.log4j:log4j-core:2.11.1')
// cache
compile('org.ehcache:ehcache:3.0.0.rc3')
// sentry
compile('io.sentry:sentry-logback:1.7.16')
// json
compile('com.fasterxml.jackson.core:jackson-databind:2.9.8')
compile('com.fasterxml.jackson.core:jackson-core:2.9.8')
compile('com.fasterxml.jackson.core:jackson-annotations:2.9.8')
compile('com.google.code.gson:gson:2.8.5')
compile('com.google.guava:guava:27.0.1-jre')
compileOnly ('org.springframework.boot:spring-boot-configuration-processor')
// redis(jedis client)
compile('redis.clients:jedis:3.0.1')
compile('org.apache.httpcomponents:httpclient:4.5.6')
compile('org.eclipse.jetty:jetty-client:9.4.14.v20181114')
// swagger
compile ('io.springfox:springfox-swagger2:2.9.2')
compile ('io.springfox:springfox-swagger-ui:2.9.2')
// test
testCompile('org.springframework.boot:spring-boot-starter-test')
}
jacocoTestReport {
reports {
xml.enabled = true
html.enabled = true
}
}
check.dependsOn jacocoTestReport