-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
117 lines (101 loc) · 3.64 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
117
buildscript {
ext {
querydslPluginVersion = '1.0.10'
}
repositories {
mavenCentral()
maven { url "https://plugins.gradle.org/m2/" } // plugin 저장소
}
dependencies {
classpath("gradle.plugin.com.ewerk.gradle.plugins:querydsl-plugin:${querydslPluginVersion}")
}
}
plugins {
id 'org.springframework.boot' version '2.2.2.RELEASE'
id 'io.spring.dependency-management' version '1.0.8.RELEASE'
id 'java'
}
group = 'com.together'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
configurations {
developmentOnly
runtimeClasspath {
extendsFrom developmentOnly
}
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
maven { url 'https://repo.spring.io/libs-milestone' }
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-batch'
implementation 'org.springframework.boot:spring-boot-starter-freemarker'
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
// implementation 'org.springframework.boot:spring-boot-starter-quartz'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'com.google.code.gson:gson'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'io.jsonwebtoken:jjwt:0.9.1'
implementation 'net.rakugakibox.util:yaml-resource-bundle:1.1'
annotationProcessor group: 'org.springframework.boot', name: 'spring-boot-configuration-processor'
implementation 'org.springframework.cloud:spring-cloud-starter-aws'
compile 'pl.allegro.tech.boot:handlebars-spring-boot-starter:0.3.0'
// selenium
compile group: 'org.seleniumhq.selenium', name: 'selenium-java', version: '3.13.0'
// querydsl
compile 'com.querydsl:querydsl-apt'
compile 'com.querydsl:querydsl-jpa'
compile('com.github.jojoldu.spring-batch-querydsl:spring-batch-querydsl-reader:2.3.3')
testCompile 'com.querydsl:querydsl-apt'
testCompile 'com.querydsl:querydsl-jpa'
compile "io.springfox:springfox-swagger2:2.9.2"
compile "io.springfox:springfox-swagger-ui:2.9.2"
compileOnly "org.projectlombok:lombok:1.16.16"
compile group: 'org.springframework.boot', name: 'spring-boot-starter-freemarker'
compile group: 'org.quartz-scheduler', name: 'quartz', version: '2.3.1'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
// runtimeOnly 'mysql:mysql-connector-java'
compile group: 'mysql', name: 'mysql-connector-java', version: '8.0.21'
annotationProcessor 'org.projectlombok:lombok'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
testImplementation 'org.springframework.batch:spring-batch-test'
implementation 'junit:junit:4.12'
}
dependencyManagement {
imports {
mavenBom 'org.springframework.cloud:spring-cloud-aws:2.2.1.RELEASE'
}
}
test {
useJUnitPlatform()
}
// querydsl 적용
apply plugin: "com.ewerk.gradle.plugins.querydsl"
def querydslSrcDir = 'src/main/generated'
querydsl {
library = "com.querydsl:querydsl-apt"
jpa = true
querydslSourcesDir = querydslSrcDir
}
sourceSets {
main {
java {
srcDirs = ['src/main/java', 'src/main/generated']
}
}
}
compileQuerydsl {
options.annotationProcessorPath = configurations.querydsl
}
configurations {
querydsl.extendsFrom compileClasspath
}