-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
92 lines (71 loc) · 2.62 KB
/
Copy pathbuild.gradle
File metadata and controls
92 lines (71 loc) · 2.62 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
plugins {
id 'java'
id 'org.springframework.boot' version '4.0.4'
id 'io.spring.dependency-management' version '1.1.7'
}
group = 'com.stackup'
version = '0.0.1-SNAPSHOT'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
// web, jpa, DB(postgresql)
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
runtimeOnly 'org.postgresql:postgresql'
// Request DTO validation
implementation 'org.springframework.boot:spring-boot-starter-validation'
// API authentication and authorization
implementation 'org.springframework.boot:spring-boot-starter-security'
// RabbitMQ messaging
implementation 'org.springframework.boot:spring-boot-starter-amqp'
// Health checks and operational endpoints
implementation 'org.springframework.boot:spring-boot-starter-actuator'
// Database migration
implementation 'org.springframework.boot:spring-boot-flyway'
implementation 'org.flywaydb:flyway-core'
implementation 'org.flywaydb:flyway-database-postgresql'
// OpenAPI documentation
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:3.0.3'
// S3 and MinIO object storage
implementation platform('software.amazon.awssdk:bom:2.37.3')
implementation 'software.amazon.awssdk:s3'
// JWT creation and validation
implementation 'com.nimbusds:nimbus-jose-jwt:10.8'
// lombok
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
// Querydsl
implementation 'com.querydsl:querydsl-jpa:5.1.0:jakarta'
// Querydsl QClass APT
annotationProcessor 'com.querydsl:querydsl-apt:5.1.0:jakarta'
// Querydsl annotation API
annotationProcessor "jakarta.annotation:jakarta.annotation-api"
annotationProcessor "jakarta.persistence:jakarta.persistence-api"
// test
testImplementation 'org.springframework.boot:spring-boot-starter-test'
// Architecture rule tests
testImplementation 'com.tngtech.archunit:archunit-junit5:1.3.0'
// Integration test containers
testImplementation platform('org.testcontainers:testcontainers-bom:1.21.3')
testImplementation 'org.testcontainers:postgresql'
testImplementation 'org.testcontainers:rabbitmq'
testImplementation 'org.testcontainers:junit-jupiter'
testImplementation 'org.springframework.boot:spring-boot-testcontainers'
testImplementation 'org.springframework.boot:spring-boot-data-jpa-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
tasks.named('test') {
useJUnitPlatform()
systemProperty 'spring.profiles.active', 'test'
}