-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
118 lines (92 loc) · 3.44 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
buildscript {
ext {
springBootVersion = '2.3.0.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
plugins {
id 'org.springframework.boot' version '2.3.0.RELEASE'
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
id 'com.ewerk.gradle.plugins.querydsl' version '1.0.10'
id 'java'
}
group = 'com.stock'
version = '1.0'
sourceCompatibility = '14'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
// Logging
implementation group: 'org.logback-extensions', name: 'logback-ext-spring', version: '0.1.5'
// database
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
runtimeOnly 'org.postgresql:postgresql'
// security
implementation 'org.springframework.boot:spring-boot-starter-security'
// oauth
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
// test
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
testAnnotationProcessor 'org.projectlombok:lombok'
testCompileOnly 'org.projectlombok:lombok'
implementation 'junit:junit:4.12'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-data-rest'
// For javax/persistence/Entity
annotationProcessor("org.springframework.boot:spring-boot-starter-data-jpa")
// swagger
compile group: 'io.springfox', name: 'springfox-swagger2', version: '2.10.5'
compile group: 'io.springfox', name: 'springfox-swagger-ui', version: '2.10.5'
compile group: 'io.springfox', name: 'springfox-spring-webmvc', version: '2.10.5'
// lombok
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
// devtool
compileOnly("org.springframework.boot:spring-boot-devtools")
implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
// Query dsl
implementation group: 'com.querydsl', name: 'querydsl-core', version: '4.3.1'
implementation group: 'com.querydsl', name: 'querydsl-apt', version: '4.3.1'
implementation group: 'com.querydsl', name: 'querydsl-jpa', version: '4.3.1'
implementation group: 'org.qlrm', name: 'qlrm', version: '2.1.1'
// hibernate-validator
implementation group: 'org.hibernate.validator', name: 'hibernate-validator', version: '6.0.8.Final'
// yahoofinance-api
compile('com.yahoofinance-api:YahooFinanceAPI:3.15.0')
// firebase
implementation 'com.google.firebase:firebase-admin:7.1.1'
// ehcache
implementation 'org.springframework.boot:spring-boot-starter-cache'
implementation 'javax.cache:cache-api:1.1.1'
implementation 'org.ehcache:ehcache:3.8.0'
//
implementation 'org.apache.httpcomponents:httpclient:4.5.9'
// aop
implementation 'org.springframework.boot:spring-boot-starter-aop'
}
// [start] Querydsl QClass 설정 추가
def querydslSrcDir = 'src/main/generated'
querydsl {
jpa = true
querydslSourcesDir = querydslSrcDir
}
sourceSets {
main.java.srcDir querydslSrcDir
}
configurations { // Gradle 5.x
querydsl.extendsFrom compileClasspath
}
compileQuerydsl { // Gradle 5.x
options.annotationProcessorPath = configurations.querydsl
}
// [end] Querydsl QClass 설정 추가