-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
82 lines (72 loc) · 2.99 KB
/
build.gradle
File metadata and controls
82 lines (72 loc) · 2.99 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
plugins {
id 'org.jetbrains.kotlin.jvm' version '2.2.21'
id 'org.jetbrains.kotlin.plugin.spring' version '2.2.21'
id 'org.springframework.boot' version '4.0.1'
id 'io.spring.dependency-management' version '1.1.7'
}
group = 'com.maechuri'
version = '0.0.1-SNAPSHOT'
description = 'main-server'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
maven {
url = uri("https://maven.pkg.github.com/dev-yunseong/api-limit-webflux")
credentials {
username = project.findProperty('GITHUB_ACTOR') ?: System.getenv("GITHUB_USERNAME")
password = project.findProperty('GITHUB_TOKEN') ?: System.getenv("GITHUB_TOKEN")
}
}
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-data-r2dbc'
implementation 'org.springframework.boot:spring-boot-starter-webflux'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'io.projectreactor.kotlin:reactor-kotlin-extensions'
implementation 'org.jetbrains.kotlin:kotlin-reflect'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-reactor'
implementation 'tools.jackson.module:jackson-module-kotlin'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
compileOnly 'org.projectlombok:lombok'
runtimeOnly 'org.postgresql:postgresql'
implementation 'org.postgresql:r2dbc-postgresql'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-data-r2dbc-test'
testImplementation 'org.springframework.boot:spring-boot-starter-webflux-test'
testImplementation 'org.springframework.security:spring-security-test'
testImplementation 'org.jetbrains.kotlin:kotlin-test-junit5'
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test'
testImplementation 'org.mockito:mockito-core:5.14.2'
testImplementation 'org.mockito:mockito-junit-jupiter:5.14.2'
testImplementation 'org.mockito.kotlin:mockito-kotlin:5.4.0'
testImplementation 'io.r2dbc:r2dbc-h2:1.0.0.RELEASE'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
implementation 'io.github.microutils:kotlin-logging-jvm:3.0.5'
// S3
implementation 'software.amazon.awssdk:s3:2.20.26'
implementation 'software.amazon.awssdk:netty-nio-client:2.20.26'
// JJWT 라이브러리 (v0.12.x 기준)
implementation("io.jsonwebtoken:jjwt-api:0.12.5")
runtimeOnly("io.jsonwebtoken:jjwt-impl:0.12.5")
runtimeOnly("io.jsonwebtoken:jjwt-jackson:0.12.5")
// api rate limit 라이브러리
implementation 'dev.yunseong:api-limit-webflux:0.0.1'
}
kotlin {
compilerOptions {
freeCompilerArgs.addAll '-Xjsr305=strict', '-Xannotation-default-target=param-property'
}
}
tasks.named('test') {
useJUnitPlatform()
}