-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
75 lines (61 loc) · 2.53 KB
/
Copy pathbuild.gradle
File metadata and controls
75 lines (61 loc) · 2.53 KB
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
plugins {
id 'org.springframework.boot' version '2.4.3'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'com.ewerk.gradle.plugins.querydsl' version '1.0.10'
id 'java'
}
group = 'com'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
repositories {
mavenCentral()
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
implementation("org.springframework.boot:spring-boot-starter-jdbc")
implementation("org.springframework.boot:spring-boot-starter-validation")
implementation('com.querydsl:querydsl-jpa')
implementation('com.google.guava:guava:30.1.1-jre')
implementation("io.springfox:springfox-boot-starter:3.0.0") {
exclude group: "io.swagger", module: "swagger-annotations"
exclude group: "io.swagger", module: "swagger-models"
}
implementation("io.swagger:swagger-annotations:1.5.21")
implementation("io.swagger:swagger-models:1.5.21")
implementation('com.amazonaws:aws-java-sdk-s3:1.11.1021')
compile("org.mariadb.jdbc:mariadb-java-client")
compileOnly("org.projectlombok:lombok")
runtimeOnly("com.h2database:h2")
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor")
runtimeOnly("mysql:mysql-connector-java")
annotationProcessor("org.projectlombok:lombok")
developmentOnly("org.springframework.boot:spring-boot-devtools")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.junit.jupiter:junit-jupiter-api")
testImplementation("org.junit.jupiter:junit-jupiter-params")
testRuntimeOnly('org.junit.jupiter:junit-jupiter-engine')
testImplementation("io.rest-assured:rest-assured:${restAssuredVersion}")
testImplementation("io.rest-assured:rest-assured-all:${restAssuredVersion}")
testImplementation("io.rest-assured:spring-mock-mvc:${restAssuredVersion}")
testImplementation("io.rest-assured:json-schema-validator:${restAssuredVersion}")
testImplementation("io.rest-assured:xml-path:${restAssuredVersion}")
}
test {
useJUnitPlatform()
}
def querydslSrcDir = 'src/main/generated/querydsl'
querydsl {
jpa = true
querydslSourcesDir = querydslSrcDir
}
sourceSets {
main.java.srcDirs querydslSrcDir
}
configurations {
querydsl.extendsFrom compileClasspath
}
compileQuerydsl {
options.annotationProcessorPath = configurations.querydsl
}