first commit
This commit is contained in:
68
build.gradle
Normal file
68
build.gradle
Normal file
@@ -0,0 +1,68 @@
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'org.springframework.boot' version '3.1.2'
|
||||
id 'io.spring.dependency-management' version '1.1.2'
|
||||
}
|
||||
|
||||
group = 'com.krt'
|
||||
version = '0.0.1-SNAPSHOT'
|
||||
|
||||
java {
|
||||
sourceCompatibility = '17'
|
||||
}
|
||||
|
||||
configurations {
|
||||
compileOnly {
|
||||
extendsFrom annotationProcessor
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
||||
implementation 'org.springframework.boot:spring-boot-starter-security'
|
||||
implementation 'org.springframework.boot:spring-boot-starter-web'
|
||||
|
||||
//SpringBoot 3.x버전 이상에서는 gradle openapi starter-webmvc 붙은걸로 써야 함
|
||||
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2'
|
||||
|
||||
//jwt
|
||||
implementation 'io.jsonwebtoken:jjwt-api:0.11.5'
|
||||
implementation 'io.jsonwebtoken:jjwt-impl:0.11.5'
|
||||
implementation 'io.jsonwebtoken:jjwt-jackson:0.11.5'
|
||||
|
||||
compileOnly 'org.projectlombok:lombok'
|
||||
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
||||
runtimeOnly 'com.mysql:mysql-connector-j'
|
||||
annotationProcessor 'org.projectlombok:lombok'
|
||||
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
||||
testImplementation 'org.springframework.security:spring-security-test'
|
||||
implementation 'com.google.code.gson:gson:2.10.1'
|
||||
|
||||
// ⭐ Spring boot 3.x이상에서 QueryDsl 패키지를 정의하는 방법
|
||||
implementation 'com.querydsl:querydsl-jpa:5.0.0:jakarta'
|
||||
annotationProcessor "com.querydsl:querydsl-apt:${dependencyManagement.importedProperties['querydsl.version']}:jakarta"
|
||||
annotationProcessor "jakarta.annotation:jakarta.annotation-api"
|
||||
annotationProcessor "jakarta.persistence:jakarta.persistence-api"
|
||||
// -- QueryDSL ---
|
||||
|
||||
//poi 엑셀 라이브러리
|
||||
implementation group: 'org.apache.poi', name: 'poi', version: '5.0.0'
|
||||
implementation group: 'org.apache.poi', name: 'poi-ooxml', version: '5.0.0'
|
||||
|
||||
// -- WebSocket --
|
||||
implementation 'org.springframework.boot:spring-boot-starter-websocket' // 스프링에서 제공하는 웹소켓
|
||||
// implementation 'org.webjars:sockjs-client:1.1.2' // sockjs
|
||||
// implementation 'org.webjars:stomp-websocket:2.3.3-1' // stomp
|
||||
}
|
||||
|
||||
tasks.named('test') {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
clean {
|
||||
delete file('src/main/generated')
|
||||
}
|
||||
Reference in New Issue
Block a user