first commit
This commit is contained in:
60
build.gradle
Normal file
60
build.gradle
Normal file
@@ -0,0 +1,60 @@
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'org.springframework.boot' version '3.1.3'
|
||||
id 'io.spring.dependency-management' version '1.1.3'
|
||||
}
|
||||
|
||||
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'
|
||||
|
||||
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'
|
||||
|
||||
//GSON
|
||||
implementation 'com.google.code.gson:gson:2.10.1'
|
||||
|
||||
//SpringBoot 3.x버전 이상에서는 gradle openapi starter-webmvc 붙은걸로 써야 함
|
||||
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2'
|
||||
|
||||
// ⭐ 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 ---
|
||||
|
||||
//FileUpload
|
||||
implementation 'commons-io:commons-io:2.11.0' /* Apache commons-io */
|
||||
implementation group: 'commons-fileupload', name: 'commons-fileupload', version: '1.4' /* Apache Commons FileUpload */
|
||||
|
||||
//javascript engine
|
||||
implementation 'org.graalvm.js:js:21.3.0' // GraalVM 버전에 맞춰 조정
|
||||
implementation 'org.graalvm.js:js-scriptengine:21.3.0' // GraalVM 버전에 맞춰 조정
|
||||
}
|
||||
|
||||
tasks.named('test') {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
Reference in New Issue
Block a user