forked from MZ-GOGOSING/spring-boot-test-study
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
110 lines (92 loc) · 3.38 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
plugins {
id 'org.springframework.boot' version '2.5.1'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'com.ewerk.gradle.plugins.querydsl' version '1.0.10'
id 'idea'
id 'java'
id 'groovy'
}
group = 'me.gogosing'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = JavaVersion.VERSION_11
repositories {
mavenCentral()
}
dependencies {
implementation ("org.springframework.boot:spring-boot-starter-web") {
exclude module: "spring-boot-starter-tomcat"
}
implementation 'org.springframework.boot:spring-boot-starter-undertow'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
implementation 'org.apache.commons:commons-lang3:3.7'
implementation 'org.hibernate:hibernate-spatial'
implementation 'org.hibernate:hibernate-envers'
implementation 'com.querydsl:querydsl-jpa'
implementation 'com.querydsl:querydsl-apt'
compileOnly 'com.fasterxml.jackson.core:jackson-databind'
compileOnly 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8'
compileOnly 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
compileOnly 'org.flywaydb:flyway-core'
compileOnly 'org.projectlombok:lombok'
compileOnly 'net.logstash.logback:logstash-logback-encoder:6.1'
compileOnly 'io.springfox:springfox-spring-webmvc:2.10.0'
compileOnly 'io.springfox:springfox-swagger-ui:2.10.0'
compileOnly 'io.springfox:springfox-swagger2:2.10.0'
runtimeOnly 'com.h2database:h2'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
annotationProcessor 'org.projectlombok:lombok'
testAnnotationProcessor 'org.projectlombok:lombok'
testImplementation ("org.springframework.boot:spring-boot-starter-test") {
exclude module: "junit"
}
testImplementation 'org.junit.jupiter:junit-jupiter-api'
testImplementation 'org.junit.jupiter:junit-jupiter-params'
testImplementation 'org.junit.jupiter:junit-jupiter-engine'
testImplementation 'org.assertj:assertj-core:3.20.2'
testImplementation 'org.codehaus.groovy:groovy:3.0.8'
testImplementation 'org.spockframework:spock-core:2.0-groovy-3.0'
testImplementation 'org.spockframework:spock-spring:2.0-groovy-3.0'
testCompileOnly 'junit:junit'
testRuntimeOnly ('org.junit.vintage:junit-vintage-engine') {
because 'JUni 3 와 JUnit 4 테스트 실행을 위해 필요핟.'
}
testRuntimeOnly 'io.springfox:springfox-swagger2:2.10.0'
testRuntimeOnly 'com.h2database:h2'
}
configurations {
querydsl.extendsFrom compileClasspath
compileOnly {
extendsFrom annotationProcessor
}
}
ext {
querydslSrcDir = "$buildDir/generated/querydsl"
}
querydsl {
library = "com.querydsl:querydsl-apt"
jpa = true
querydslSourcesDir = querydslSrcDir
}
compileQuerydsl {
delete "./src/main/generated/"
options.annotationProcessorPath = configurations.querydsl
}
sourceSets {
main {
java {
srcDirs = ["src/main/java", querydslSrcDir]
}
}
}
idea {
module {
sourceDirs += file(querydslSrcDir)
}
}
test {
useJUnitPlatform()
}