-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
78 lines (65 loc) · 2.67 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
plugins {
id 'java'
id 'org.springframework.boot' version '3.1.5'
id 'io.spring.dependency-management' version '1.1.4'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
java {
sourceCompatibility = '17'
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {//todo: 안쓰는 의존성이나 deprecated된 의존성 제거
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'com.mysql:mysql-connector-j:8.2.0'
implementation 'org.hibernate:hibernate-core:6.3.0.CR1'
implementation 'org.springframework.data:spring-data-redis:3.1.2'
implementation 'io.jsonwebtoken:jjwt:0.9.1'
implementation 'org.springframework.security:spring-security-core:6.1.2'
implementation 'org.springframework.security:spring-security-config:6.1.2'
implementation 'org.springframework.security:spring-security-web:6.1.2'
implementation 'io.lettuce:lettuce-core:6.2.5.RELEASE'
implementation 'javax.xml.bind:jaxb-api:2.4.0-b180830.0359'
implementation 'com.amazonaws:aws-java-sdk-s3:1.12.470'
implementation 'org.hibernate.validator:hibernate-validator:8.0.1.Final'
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
implementation 'org.apache.commons:commons-lang3:3.12.0'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'io.micrometer:micrometer-registry-prometheus'
implementation 'com.querydsl:querydsl-jpa:5.0.0:jakarta'
// Lombok
compileOnly 'org.projectlombok:lombok:1.18.26'
annotationProcessor 'org.projectlombok:lombok'
// Test
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.mockito:mockito-core:3.3.3'
testImplementation 'io.rest-assured:rest-assured:5.4.0'
// Testcontainers
testImplementation 'org.testcontainers:testcontainers'
testImplementation 'org.testcontainers:junit-jupiter'
testImplementation 'org.testcontainers:mysql'
annotationProcessor(
'com.querydsl:querydsl-apt:5.0.0:jakarta',
'jakarta.persistence:jakarta.persistence-api:3.1.0',
'jakarta.annotation:jakarta.annotation-api:2.1.1'
)
implementation 'org.flywaydb:flyway-core'
implementation 'org.flywaydb:flyway-mysql'
}
tasks.named('test') {
useJUnitPlatform()
}
sourceSets {
main.java.srcDirs += ['build/generated/sources/annotationProcessor/java/main']
}
compileJava {
options.annotationProcessorGeneratedSourcesDirectory = file('build/generated/sources/annotationProcessor/java/main')
}