2024-08-26 21:55:58 +09:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
id 'org.springframework.boot' version '3.3.3'
|
|
|
|
id 'io.spring.dependency-management' version '1.1.6'
|
|
|
|
}
|
|
|
|
|
|
|
|
group = 'com.worlabel'
|
|
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
|
|
|
|
java {
|
|
|
|
toolchain {
|
|
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
configurations {
|
|
|
|
compileOnly {
|
|
|
|
extendsFrom annotationProcessor
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2024-08-26 22:40:44 +09:00
|
|
|
// Spring Boot
|
2024-08-28 00:55:50 +09:00
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
|
|
|
|
|
|
// Spring Data JPA
|
2024-08-26 21:55:58 +09:00
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
2024-08-28 00:55:50 +09:00
|
|
|
|
|
|
|
// Spring Security
|
2024-08-26 21:55:58 +09:00
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
2024-08-26 22:40:44 +09:00
|
|
|
|
|
|
|
// Lombok
|
2024-08-26 21:55:58 +09:00
|
|
|
compileOnly 'org.projectlombok:lombok'
|
2024-08-26 22:40:44 +09:00
|
|
|
|
|
|
|
// MySQL
|
2024-08-26 21:55:58 +09:00
|
|
|
runtimeOnly 'com.mysql:mysql-connector-j'
|
|
|
|
annotationProcessor 'org.projectlombok:lombok'
|
2024-08-26 22:40:44 +09:00
|
|
|
|
|
|
|
// Test
|
2024-08-26 21:55:58 +09:00
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
|
|
testImplementation 'org.springframework.security:spring-security-test'
|
|
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
2024-08-26 22:40:44 +09:00
|
|
|
|
|
|
|
// GJson
|
2024-08-28 22:00:34 +09:00
|
|
|
implementation 'com.google.code.gson:gson:2.8.9'
|
2024-08-28 00:55:50 +09:00
|
|
|
|
|
|
|
// OAuth
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
|
|
|
|
|
|
|
|
// JWT
|
|
|
|
implementation 'io.jsonwebtoken:jjwt-api:0.12.3'
|
|
|
|
implementation 'io.jsonwebtoken:jjwt-impl:0.12.3'
|
|
|
|
implementation 'io.jsonwebtoken:jjwt-jackson:0.12.3'
|
2024-08-28 09:16:51 +09:00
|
|
|
|
2024-08-28 22:28:30 +09:00
|
|
|
// Redis
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
|
|
|
|
|
2024-08-29 17:32:21 +09:00
|
|
|
// Swagger
|
2024-08-27 13:17:32 +09:00
|
|
|
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2'
|
2024-08-28 14:02:00 +09:00
|
|
|
|
2024-08-29 17:32:21 +09:00
|
|
|
// AWS
|
|
|
|
implementation 'org.springframework.cloud:spring-cloud-starter-aws:2.2.6.RELEASE'
|
|
|
|
|
|
|
|
// Test
|
2024-08-28 14:02:00 +09:00
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter:5.7.1'
|
|
|
|
testImplementation 'org.mockito:mockito-core:3.9.0'
|
|
|
|
testImplementation 'org.mockito:mockito-junit-jupiter:3.9.0'
|
2024-09-11 17:15:06 +09:00
|
|
|
|
|
|
|
// WebSocket
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-websocket'
|
2024-08-26 21:55:58 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks.named('test') {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|
2024-09-09 14:22:32 +09:00
|
|
|
|
|
|
|
tasks.withType(JavaCompile) {
|
|
|
|
options.compilerArgs << "-Xlint:deprecation" << "-Xlint:unchecked"
|
|
|
|
}
|